aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs
index 24921a5ea..4d8a4d465 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModelLocator.cs
@@ -187,7 +187,11 @@ namespace Tango.PPC.UI
TangoIOC.Default.Register<RestartingViewVM>();
TangoIOC.Default.Register<InternalModuleViewVM>();
TangoIOC.Default.Register<PowerOffViewVM>();
- TangoIOC.Default.Register<MachineStatusViewVM>();
+
+ if (buildProvider.IsEureka)
+ {
+ TangoIOC.Default.Register<MachineStatusViewVM>();
+ }
TangoIOC.Default.GetInstance<IPPCApplicationManager>().ContentRendered += (_, __) =>