fix: hide notification preferences section from admin users
This commit is contained in:
@@ -928,6 +928,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
<Separator />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -1171,7 +1173,8 @@
|
|||||||
|
|
||||||
<Separator />
|
<Separator />
|
||||||
|
|
||||||
<!-- Notification Preferences -->
|
<!-- Notification Preferences (non-admin users only) -->
|
||||||
|
{#if authStore.currentUser?.role !== 'admin'}
|
||||||
<div>
|
<div>
|
||||||
<h3 class="mb-2 text-sm font-semibold">Notifications</h3>
|
<h3 class="mb-2 text-sm font-semibold">Notifications</h3>
|
||||||
<p class="mb-3 text-sm text-gray-600">
|
<p class="mb-3 text-sm text-gray-600">
|
||||||
@@ -1241,7 +1244,7 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{/if}
|
||||||
|
|
||||||
<Separator />
|
<Separator />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user