Fix issues with critical alerts breaking the simulation
This commit is contained in:
@@ -12,7 +12,7 @@ import EmptyState from '@/components/ui/EmptyState.vue'
|
||||
const alertStore = useAlertStore()
|
||||
const { alerts, loading } = storeToRefs(alertStore)
|
||||
|
||||
const activeFilter = ref('Open')
|
||||
const activeFilter = ref('OPEN')
|
||||
const confirmingAlert = ref(null)
|
||||
|
||||
watch(activeFilter, (status) => {
|
||||
|
||||
@@ -68,7 +68,7 @@ const selectedAlert = ref(null)
|
||||
let nextAlertIndex = 0
|
||||
|
||||
const openAlerts = computed(() =>
|
||||
alerts.value.filter(a => a.status === 'Open' || a.status === 'Escalated'),
|
||||
alerts.value.filter(a => a.status === 'OPEN' || a.status === 'ESCALATED'),
|
||||
)
|
||||
|
||||
const isDischarged = computed(() => encounter.value?.status === 'Discharged')
|
||||
|
||||
Reference in New Issue
Block a user