0
0
Fork 0

perf: hide icon for VnInputDate

This commit is contained in:
Javier Segarra 2024-07-04 17:28:45 +02:00
parent 3585f651b8
commit b59f8374b3
1 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,10 @@ const $props = defineProps({
type: Boolean,
default: false,
},
showEvent: {
type: Boolean,
default: true,
},
});
const { t } = useI18n();
@ -107,7 +111,7 @@ watch(
isPopupOpen = false;
"
/>
<QIcon name="event" class="cursor-pointer" />
<QIcon v-if="showEvent" name="event" class="cursor-pointer" />
</template>
<QMenu
transition-show="scale"