fix: default 0 pending invitations

This commit is contained in:
Andras Bacsai committed 2022-10-02 08:55:36 +00:00
1 parent 5367bd6134
commit 0b067364a9
2 files changed
+336 -213

No files matched your search

+2 -2
View File
@@ -66,7 +66,7 @@
<script lang="ts">
export let baseSettings: any;
export let supportedServiceTypesAndVersions: any;
export let pendingInvitations: any;
export let pendingInvitations: any = 0;
$appSession.isRegistrationEnabled = baseSettings.isRegistrationEnabled;
$appSession.ipv4 = baseSettings.ipv4;
@@ -398,7 +398,7 @@
<path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />
</svg>
IAM {#if $appSession.pendingInvitations.length > 0}
<span class="indicator-item badge badge-error font-mono">{pendingInvitations}</span>
<span class="indicator-item rounded-full badge badge-error font-mono">{pendingInvitations}</span>
{/if}
</a>
</li>
+334 -211
View File
File diff suppressed because it is too large. Load diff