fix: hide notification preferences section from admin users

This commit is contained in:
2026-05-17 00:28:55 +01:00
parent b08df624a8
commit 5c84cd71b8
+5 -2
View File
@@ -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 />