Added vesrion to update instance dialog. Added apply functionality to instance page. Replaced dialog launch in overview to link to instance tab

This commit is contained in:
2026-01-28 16:43:29 +01:00
parent deb69e6014
commit 9b11360a0e
3 changed files with 38 additions and 12 deletions

View File

@@ -133,7 +133,11 @@
{
<CardTitle ClassName="text-lg text-primary">Update available</CardTitle>
<CardAction ClassName="self-center">
<Button @onclick="LaunchUpdateModalAsync">Update</Button>
<Button>
<Slot>
<a href="/admin/system?tab=instance" @attributes="context">Update</a>
</Slot>
</Button>
</CardAction>
}
</CardHeader>
@@ -156,10 +160,4 @@
await InvokeAsync(StateHasChanged);
}
private async Task LaunchUpdateModalAsync() => await DialogService.LaunchAsync<UpdateInstanceModal>(onConfigure: model =>
{
model.ShowCloseButton = false;
model.ClassName = "sm:max-w-4xl!";
});
}