Skip to content

Commit

Permalink
fixed the General message modal throwiing an error if no information_…
Browse files Browse the repository at this point in the history
…modal is supplied
  • Loading branch information
CommanderStorm committed Mar 26, 2023
1 parent 5ee7488 commit aedafd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webclient/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const global = useGlobalStore();
</footer>
<FeedbackModal v-if="global.feedback.open" />
<!-- General message modal -->
<div class="modal" :class="{ active: global.information_modal.body }">
<div class="modal" :class="active" v-if="global.information_modal?.body">
<div class="modal-overlay" @click="global.information_modal.body = null"></div>
<div class="modal-container">
<div class="modal-header">
Expand Down

0 comments on commit aedafd2

Please sign in to comment.