working on switching to overlays instead of dialogs?

This commit is contained in:
Paul Wilde 2023-03-24 17:27:18 +00:00
parent d357201b06
commit c0d1df0944
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
<template> <template>
<v-container>
<v-card title="Add Comment"> <v-card title="Add Comment">
<v-card-text> <v-card-text>
<p>Add new comment for : {{ customer.acc_no }} - {{ customer.name }}</p> <p>Add new comment for : {{ customer.acc_no }} - {{ customer.name }}</p>
@ -11,6 +12,7 @@
</v-card-actions> </v-card-actions>
</v-card> </v-card>
</v-container>
</template> </template>
<script> <script>
import axios from 'axios' import axios from 'axios'

View file

@ -20,9 +20,9 @@
</v-list> </v-list>
</v-card-text> </v-card-text>
</v-card> </v-card>
<v-dialog v-model="dialog[0]"> <v-overlay v-model="dialog[0]" contained class="align-center justify-center">
<AddNote :customer="customer" @return="closeAddNote"></AddNote> <AddNote :customer="customer" @return="closeAddNote"></AddNote>
</v-dialog> </v-overlay>
</template> </template>
<script> <script>
import Customer from '@/types/CustomerType.vue' import Customer from '@/types/CustomerType.vue'