mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix content module warnings (#21839)
* Don't inherit attrs * Mark optional as default is set
This commit is contained in:
@@ -16,6 +16,8 @@ export interface Props {
|
||||
suffix?: boolean;
|
||||
}
|
||||
|
||||
defineOptions({ inheritAttrs: false });
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
format: 'long',
|
||||
relative: false,
|
||||
|
||||
@@ -8,7 +8,7 @@ import { useI18n } from 'vue-i18n';
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
modelValue: string | null;
|
||||
showFilter: boolean;
|
||||
showFilter?: boolean;
|
||||
collection?: string;
|
||||
filter?: Filter | null;
|
||||
}>(),
|
||||
|
||||
Reference in New Issue
Block a user