database and gitsync issues fixed

This commit is contained in:
Nils Blomgren
2026-06-07 14:54:16 +02:00
parent 8dc46ef031
commit 76b7e55931
72 changed files with 31067 additions and 1508 deletions

View File

@@ -10,14 +10,8 @@
<PageTitle>Tenants</PageTitle>
@if (!loaded)
{
<div class="text-center py-5">
<div class="spinner-border text-primary" role="status"></div>
<p class="text-muted mt-2">Loading tenants...</p>
</div>
}
else
<LoadingPanel Loading="@(!loaded)" LoadingText="Loading tenants…">
@if (loaded)
{
<div class="d-flex align-items-center justify-content-between mb-4">
<div>
@@ -49,18 +43,9 @@ else
@if (tenants is null || tenants.Count == 0)
{
<div class="text-center py-5">
<i class="bi bi-building text-muted" style="font-size: 4rem;"></i>
<h5 class="text-muted mt-3">No tenants yet</h5>
@if (isAdmin)
{
<p class="text-muted">Create your first tenant above to get started.</p>
}
else
{
<p class="text-muted">You have not been added to any tenants yet.</p>
}
</div>
<EmptyState Icon="bi-building"
Title="No tenants yet"
Message="@(isAdmin ? "Create your first tenant above to get started." : "You have not been added to any tenants yet.")" />
}
else
{
@@ -113,6 +98,7 @@ else
</div>
}
}
</LoadingPanel>
@code {
private List<Tenant>? tenants;