diff --git a/src/Eurofurence.App.Backoffice/Pages/KnowledgeBase.razor b/src/Eurofurence.App.Backoffice/Pages/KnowledgeBase.razor
index 9ffb6ab4..16484ef2 100644
--- a/src/Eurofurence.App.Backoffice/Pages/KnowledgeBase.razor
+++ b/src/Eurofurence.App.Backoffice/Pages/KnowledgeBase.razor
@@ -4,6 +4,7 @@
@using Eurofurence.App.Domain.Model.Knowledge
@using Microsoft.AspNetCore.Authorization
@using Eurofurence.App.Backoffice.Components
+@using Eurofurence.App.Domain.Model.Fragments
@using Eurofurence.App.Domain.Model.Images
@using Markdig
@inject ISnackbar Snackbar
@@ -114,7 +115,15 @@
@foreach (var link in knowledgeEntry.Links)
{
- @link.Name
+ @if (link.FragmentType == LinkFragment.FragmentTypeEnum.WebExternal)
+ {
+
+ @link.Name
+ }
+ else
+ {
+ @link.Name
+ }
}
@@ -239,10 +248,10 @@
private async Task DeleteKnowledgeEntry(Guid id)
{
DialogParameters dialog = new()
- {
- { x => x.ContentText, $"Are you sure you want to delete this knowledge base entry?" },
- { x => x.ActionButtonText, "Confirm" }
- };
+{
+{ x => x.ContentText, $"Are you sure you want to delete this knowledge base entry?" },
+{ x => x.ActionButtonText, "Confirm" }
+};
var options = new DialogOptions() { CloseButton = true, MaxWidth = MaxWidth.ExtraSmall };
IDialogReference dialogRef = await DialogService.ShowAsync("Confirm", dialog, options);
DialogResult dialogResult = await dialogRef.Result;
@@ -295,10 +304,10 @@
private async Task DeleteKnowledgeGroup(Guid id)
{
DialogParameters dialog = new()
- {
- { x => x.ContentText, $"Are you sure you want to delete this knowledge base group?" },
- { x => x.ActionButtonText, "Confirm" }
- };
+{
+{ x => x.ContentText, $"Are you sure you want to delete this knowledge base group?" },
+{ x => x.ActionButtonText, "Confirm" }
+};
var options = new DialogOptions() { CloseButton = true, MaxWidth = MaxWidth.ExtraSmall };
IDialogReference dialogRef = await DialogService.ShowAsync("Confirm", dialog, options);
DialogResult dialogResult = await dialogRef.Result;