feature: RBAC + Clinical Audit Logging
This commit is contained in:
@@ -35,8 +35,8 @@ export const useAlertStore = defineStore('alerts', () => {
|
||||
}
|
||||
}
|
||||
|
||||
async function acknowledge(alertId, clinicianId, note) {
|
||||
await alertsApi.acknowledgeAlert(alertId, clinicianId, note)
|
||||
async function acknowledge(alertId, note) {
|
||||
await alertsApi.acknowledgeAlert(alertId, note)
|
||||
const alert = alerts.value.find(a => a.id === alertId)
|
||||
if (alert) alert.status = 'Acknowledged'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user