mirror of
https://github.com/directus/directus.git
synced 2026-02-19 10:14:33 -05:00
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:
@@ -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" />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user