critical alerts modal reactivity

This commit is contained in:
Ruben Fiszel
2025-03-04 16:06:52 +01:00
parent daee5d32e4
commit 607f171bab

View File

@@ -192,12 +192,10 @@
async function loadUsedTriggerKinds() {
let usedKinds: string[] = []
const { http_routes_used, websocket_used, kafka_used, postgres_used, nats_used , sqs_used} =
await WorkspaceService.getUsedTriggers(
{
workspace: $workspaceStore ?? ''
}
)
const { http_routes_used, websocket_used, kafka_used, postgres_used, nats_used, sqs_used } =
await WorkspaceService.getUsedTriggers({
workspace: $workspaceStore ?? ''
})
if (http_routes_used) {
usedKinds.push('http')
}
@@ -311,6 +309,8 @@
) {
mountModal = true
loadCriticalAlertsMuted()
} else {
mountModal = false
}
}