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