Make template prop optional

Ref https://github.com/directus/directus/pull/18393/files#r1183040178
This commit is contained in:
rijkvanzanten
2023-05-02 17:05:44 -04:00
parent b0908ca7f8
commit d19f0b758b

View File

@@ -45,7 +45,7 @@ const props = defineProps<{
collection: string;
field: string;
value: Record<string, any> | Record<string, any>[] | null;
template: string;
template?: string;
}>();
const { t, te } = useI18n();