0
0
Fork 0

ref #6105 fix dialog

This commit is contained in:
Jorge Penadés 2023-09-01 13:09:30 +02:00
parent 4478c2e37d
commit 0882c3440d
5 changed files with 7 additions and 6 deletions

View File

@ -40,7 +40,7 @@ async function confirm() {
}
</script>
<template>
<QDialog ref="dialogRef" persistent>
<QDialog ref="dialogRef">
<QCard class="q-pa-sm">
<QCardSection class="row items-center q-pb-none">
<span class="text-h6 text-grey">{{ t('Send email notification') }}</span>

View File

@ -83,7 +83,7 @@ async function send() {
</script>
<template>
<QDialog ref="dialogRef" persistent>
<QDialog ref="dialogRef">
<QCard class="q-pa-sm">
<QCardSection class="row items-center q-pb-none">
<span class="text-h6 text-grey">

View File

@ -51,7 +51,7 @@ async function confirm() {
}
</script>
<template>
<QDialog ref="dialogRef" persistent>
<QDialog ref="dialogRef">
<QCard class="q-pa-sm">
<QCardSection class="row items-center q-pb-none">
<QAvatar

View File

@ -24,6 +24,7 @@ async function insert() {
Object.assign(body, { text: newNote.value });
await axios.post($props.url, body);
vnPaginateRef.value.fetch();
newNote.value = '';
}
</script>
<template>
@ -71,7 +72,7 @@ async function insert() {
@click="noteModal = true"
/>
</QPageSticky>
<QDialog v-model="noteModal" persistent>
<QDialog v-model="noteModal" @hide="newNote = ''">
<QCard>
<QCardSection>
<QItem class="q-px-none">
@ -86,7 +87,7 @@ async function insert() {
<QInput
autofocus
type="textarea"
:hint="t('Add note here...')"
:label="t('Add note here...')"
filled
size="lg"
autogrow

View File

@ -103,7 +103,7 @@ function cancel() {
@on-fetch="(data) => (claimableSales = data)"
auto-load
/>
<QDialog ref="dialogRef" persistent>
<QDialog ref="dialogRef">
<QCard>
<QCardSection class="row items-center">
<span class="text-h6 text-grey">{{ t('Available sales lines') }}</span>