feature: RBAC + Clinical Audit Logging
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
import { storeToRefs } from 'pinia'
|
||||
import { computed } from 'vue'
|
||||
import { useAlertStore } from '@/stores/alerts'
|
||||
import { useSettingsStore } from '@/stores/settings'
|
||||
import { usePolling } from '@/composables/usePolling'
|
||||
import Card from '@/components/ui/Card.vue'
|
||||
import Badge from '@/components/ui/Badge.vue'
|
||||
@@ -18,7 +17,6 @@ const props = defineProps({
|
||||
const emit = defineEmits(['select'])
|
||||
|
||||
const alertStore = useAlertStore()
|
||||
const settings = useSettingsStore()
|
||||
const { alerts, loading } = storeToRefs(alertStore)
|
||||
|
||||
function loadEncounterAlerts() {
|
||||
@@ -36,7 +34,7 @@ function severityVariant(severity) {
|
||||
}
|
||||
|
||||
async function acknowledge(alertId) {
|
||||
await alertStore.acknowledge(alertId, settings.clinicianId)
|
||||
await alertStore.acknowledge(alertId)
|
||||
await loadEncounterAlerts()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user