Change: more clearly handle init permissions error (#7334)

This commit is contained in:
shamoon
2024-07-28 07:06:15 -07:00
committed by GitHub
parent 45002f8083
commit dcfc53b7f2
4 changed files with 34 additions and 6 deletions

View File

@@ -39,7 +39,7 @@
<div class="col-12 col-lg-4 col-xl-3 col-sidebar">
<div class="row row-cols-1 g-4 mb-4 sticky-lg-top z-0">
<div class="col">
<pngx-statistics-widget></pngx-statistics-widget>
<pngx-statistics-widget *pngxIfPermissions="{ action: PermissionAction.View, type: PermissionType.UISettings }"></pngx-statistics-widget>
</div>
<div class="col">
<pngx-upload-file-widget></pngx-upload-file-widget>