Skip to content

Commit

Permalink
Add a close button to checklist detailpane
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeister committed Sep 29, 2024
1 parent e1c86e3 commit 07bbbfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/components/activity/content/Checklist.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
v-model="showDialog"
icon="mdi-clipboard-list-outline"
:title="$tc('components.activity.content.checklist.title')"
:cancel-action="close"
:cancel-visible="false"
>
<template #activator="{ on }">
<button
Expand Down Expand Up @@ -257,6 +259,9 @@ export default {
this.uncheckedItems = []
this.dirty = false
},
close() {
this.showDialog = false
},
},
}
</script>
Expand Down

0 comments on commit 07bbbfe

Please sign in to comment.