Leave navigation guard (#633)

* Add leave navigation guard to collections module

* Add leave guard to users module

* Add leave navigation guard to file detail
This commit is contained in:
Rijk van Zanten
2020-05-26 14:10:18 -04:00
committed by GitHub
parent c418b5a2fe
commit d463460548
5 changed files with 117 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
<drawer-detail
:title="$t('comments')"
icon="chat_bubble_outline"
:badge="activity.length > 0 ? activity.length : null"
:badge="activity && activity.length > 0 ? activity.length : null"
>
<comment-input :refresh="refresh" :collection="collection" :primary-key="primaryKey" />