File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/ServicePulse.Host/vue/src/components Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22import { RouterLink , useRoute } from " vue-router" ;
33import { computed } from " vue" ;
44import { stats , connectionState , monitoringConnectionState } from " ../composables/serviceServiceControl.js" ;
5+ import { useIsMonitoringEnabled } from " ../composables/serviceServiceControlUrls" ;
56import { licenseStatus } from " ./../composables/serviceLicense.js" ;
67import ExclamationMark from " ./ExclamationMark.vue" ;
78
@@ -19,7 +20,7 @@ const displayWarn = computed(() => {
1920 return licenseStatus .warningLevel === " warning" ;
2021});
2122const displayDanger = computed (() => {
22- return connectionState .unableToConnect || monitoringConnectionState .unableToConnect || licenseStatus .warningLevel === " danger" ;
23+ return connectionState .unableToConnect || ( monitoringConnectionState .unableToConnect && useIsMonitoringEnabled ()) || licenseStatus .warningLevel === " danger" ;
2324});
2425 </script >
2526
You can’t perform that action at this time.
0 commit comments