diff --git a/frontend/src/components/Breadcrumbs.vue b/frontend/src/components/Breadcrumbs.vue index d5e157bf..2ed43953 100644 --- a/frontend/src/components/Breadcrumbs.vue +++ b/frontend/src/components/Breadcrumbs.vue @@ -29,7 +29,7 @@ const route = useRoute(); const props = defineProps<{ base: string; - noLink: boolean; + noLink?: boolean; }>(); const items = computed(() => { @@ -72,7 +72,7 @@ const items = computed(() => { }); const element = computed(() => { - if (props.noLink !== undefined) { + if (props.noLink) { return "span"; } diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 04b4ed60..d4b4465e 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -15,7 +15,7 @@ >