Fix creating roles

This commit is contained in:
rijkvanzanten
2020-07-31 17:31:58 -04:00
parent 07fc327f32
commit 81af3c5cfd

View File

@@ -55,7 +55,7 @@
<v-skeleton-loader v-if="loading" />
<template v-else>
<v-notice v-if="(edits.admin !== undefined ? edits.admin : item.admin) === true">
<v-notice v-if="(edits.admin !== undefined ? edits.admin : item && item.admin) === true">
{{ $t('admins_have_all_permissions') }}
</v-notice>