Prevent collection from crashing on unknown layout (#7635)

Fixes #7633
This commit is contained in:
Rijk van Zanten
2021-08-26 16:31:01 -04:00
committed by GitHub
parent 8dead37a0c
commit 00b8923b7e

View File

@@ -3,7 +3,7 @@
<private-view
v-else
:title="bookmark ? bookmarkTitle : currentCollection.name"
:small-header="currentLayout.smallHeader"
:small-header="currentLayout?.smallHeader"
>
<template #title-outer:prepend>
<v-button class="header-icon" rounded icon secondary disabled>