diff --git a/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor b/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor index ac2b08266..759fb4e47 100644 --- a/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor +++ b/src/core/src/AXOpen.Core.Blazor/AxoComponent/AxoComponentView.razor @@ -4,7 +4,8 @@ @using AXSharp.Presentation.Blazor.Controls.Layouts.TabControlComponents; @inherits RenderableComplexComponentBase; -
+ +
@Component.AttributeName
diff --git a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor index 3db2ff19c..4fd0417e8 100644 --- a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor +++ b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor @@ -6,9 +6,9 @@ @if (Component.State > eAxoMessengerState.Idle) { -
- @if (!OnlyAlarmView) - { +
+ +
@@ -31,15 +31,14 @@
-
- } - else +
+ @if (!OnlyAlarmView) {
- + *@
} diff --git a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs index 5a4611df0..aa36cf132 100644 --- a/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs +++ b/src/core/src/AXOpen.Core.Blazor/AxoMessenger/Static/AxoMessengerDetailedView.razor.cs @@ -237,7 +237,7 @@ private string GetHelpText() return retVal; } - private bool OnlyAlarmView { get; set; } + private bool OnlyAlarmView { get; set; } = true; private void ToggleComponentView() { @@ -246,7 +246,7 @@ private void ToggleComponentView() private void ToggleAlarmView() { - this.OnlyAlarmView = true; + this.OnlyAlarmView = !this.OnlyAlarmView; } }