Skip to content

Commit

Permalink
fix: make checkin button click once to prevent submitting multiple lo…
Browse files Browse the repository at this point in the history
…gs (backport #2604) (#2605)

Co-authored-by: Asmita Hase <[email protected]>
  • Loading branch information
mergify[bot] and asmitahase authored Jan 14, 2025
1 parent d99f5e3 commit eb7c313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/CheckInPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
</div>
</template>

<Button variant="solid" class="w-full py-5 text-sm" @click="submitLog(nextAction.action)">
<Button variant="solid" class="w-full py-5 text-sm" @click.once="submitLog(nextAction.action)">
{{ __("Confirm {0}", [nextAction.label]) }}
</Button>
</div>
Expand Down

0 comments on commit eb7c313

Please sign in to comment.