Skip to content

Commit 5fe22cf

Browse files
committed
User reporting
1 parent 54e57ac commit 5fe22cf

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

client/src/components/Collections/common/UserReportingError.vue

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,16 @@ async function handleSubmit(data?: any, email?: string | null) {
7272
<span v-if="!props.reportableData">{{ FIELD_MESSAGE.dataRequired }}</span>
7373
</div>
7474
<FormElement v-if="props.reportableData" id="object-error-message" v-model="message" :area="true" />
75+
<BButton
76+
id="data-error-submit"
77+
v-b-tooltip.hover
78+
:title="fieldMessages.join('\n')"
79+
variant="primary"
80+
class="mt-3"
81+
@click="handleSubmit(props.reportableData, props.reportingEmail)">
82+
<FontAwesomeIcon :icon="faBug" class="mr-1" />
83+
Report
84+
</BButton>
7585
</div>
76-
77-
<BButton
78-
id="data-error-submit"
79-
v-b-tooltip.hover
80-
:title="fieldMessages.join('\n')"
81-
variant="primary"
82-
class="mt-3"
83-
@click="handleSubmit(props.reportableData, props.reportingEmail)">
84-
<FontAwesomeIcon :icon="faBug" class="mr-1" />
85-
Report
86-
</BButton>
8786
</div>
8887
</template>

0 commit comments

Comments
 (0)