Skip to content

Commit

Permalink
fix: make checkin button click only once to prevent sending multiple …
Browse files Browse the repository at this point in the history
…checkin logs
  • Loading branch information
asmitahase committed Jan 9, 2025
1 parent 25a9028 commit c693b79
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 c693b79

Please sign in to comment.