diff --git a/src/DnsmasqWebUI/Components/Dnsmasq/AppLogsSection.razor b/src/DnsmasqWebUI/Components/Dnsmasq/AppLogsSection.razor index 0b82861..5c94319 100644 --- a/src/DnsmasqWebUI/Components/Dnsmasq/AppLogsSection.razor +++ b/src/DnsmasqWebUI/Components/Dnsmasq/AppLogsSection.razor @@ -30,4 +30,4 @@
@_initialPlaceholder+
@Placeholder+ +@code { + [Parameter] public string Id { get; set; } = ""; + [Parameter] public string Placeholder { get; set; } = "Connecting…"; + [Parameter] public bool Freeze { get; set; } + + protected override bool ShouldRender() => !Freeze; +} diff --git a/src/DnsmasqWebUI/Components/Dnsmasq/LogsSection.razor b/src/DnsmasqWebUI/Components/Dnsmasq/LogsSection.razor index 546edad..fff60fc 100644 --- a/src/DnsmasqWebUI/Components/Dnsmasq/LogsSection.razor +++ b/src/DnsmasqWebUI/Components/Dnsmasq/LogsSection.razor @@ -24,7 +24,7 @@ } @if (_status.LogsConfigured) { -
@_initialPlaceholder+