Improved link null handling

This commit is contained in:
Thorsten Sommer 2024-12-27 13:15:09 +01:00
parent 169e1cb601
commit 5f542295fc
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -38,7 +38,7 @@ public partial class EmbeddingMethodDialog : ComponentBase
/// A link to the embedding documentation or the source code. Might be null, which means no link is provided.
/// </summary>
[Parameter]
public string? DataLink { get; set; }
public string DataLink { get; set; } = string.Empty;
/// <summary>
/// Should the dialog be in editing mode?