Skip to content

Commit

Permalink
Fixing issue with new template dialog always appearing
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 committed Nov 3, 2023
1 parent 5aadc15 commit e08df3a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<template>
<v-form @submit.prevent v-slot="{ isValid }">
<v-navigation-drawer

Check failure on line 3 in src/dispatch/static/dispatch/src/document/template/TemplateNewEditSheet.vue

View workflow job for this annotation

GitHub Actions / build

Replace `⏎······v-model="showCreateEdit"⏎······location="right"⏎······width="500"⏎······absolute⏎······temporary⏎····` with `·v-model="showCreateEdit"·location="right"·width="500"·absolute·temporary`
:model-value="showCreateEdit"
@update:model-value="() => {}"
v-model="showCreateEdit"
location="right"
width="500"
absolute
temporary
>
<template #prepend>
<v-list-item lines="two">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
<v-btn icon variant="text" @click="createEditShow({ resource_type: resourceType })">
<v-icon>mdi-plus</v-icon>
</v-btn>
<new-edit-sheet @new-document-created="addItem($event)" />
</template>
<template #no-data>
<v-list-item>
Expand Down
3 changes: 3 additions & 0 deletions src/dispatch/static/dispatch/src/incident/type/Table.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<v-container fluid>
<new-edit-sheet />
<new-template-sheet @new-document-created="addItem($event)" />
<v-row no-gutters>
<v-col>
<v-alert closable icon="mdi-school" prominent text type="info">
Expand Down Expand Up @@ -74,13 +75,15 @@ import { mapActions } from "vuex"
import NewEditSheet from "@/incident/type/NewEditSheet.vue"
import SettingsBreadcrumbs from "@/components/SettingsBreadcrumbs.vue"
import NewTemplateSheet from "@/document/template/TemplateNewEditSheet.vue"
export default {
name: "IncidentTypeTable",
components: {
NewEditSheet,
SettingsBreadcrumbs,
NewTemplateSheet,
},
data() {
return {
Expand Down

0 comments on commit e08df3a

Please sign in to comment.