Skip to content

Commit

Permalink
User reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
hujambo-dunia committed Jan 16, 2025
1 parent 54e57ac commit 5fe22cf
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions client/src/components/Collections/common/UserReportingError.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,16 @@ async function handleSubmit(data?: any, email?: string | null) {
<span v-if="!props.reportableData">{{ FIELD_MESSAGE.dataRequired }}</span>
</div>
<FormElement v-if="props.reportableData" id="object-error-message" v-model="message" :area="true" />
<BButton
id="data-error-submit"
v-b-tooltip.hover
:title="fieldMessages.join('\n')"
variant="primary"
class="mt-3"
@click="handleSubmit(props.reportableData, props.reportingEmail)">
<FontAwesomeIcon :icon="faBug" class="mr-1" />
Report
</BButton>
</div>

<BButton
id="data-error-submit"
v-b-tooltip.hover
:title="fieldMessages.join('\n')"
variant="primary"
class="mt-3"
@click="handleSubmit(props.reportableData, props.reportingEmail)">
<FontAwesomeIcon :icon="faBug" class="mr-1" />
Report
</BButton>
</div>
</template>

0 comments on commit 5fe22cf

Please sign in to comment.