feature: Improve dashboard functionality
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { api } from './client'
|
||||
|
||||
export function fetchSepsisBundles({ status = 'IN_PROGRESS', page = 1, pageSize = 100 } = {}) {
|
||||
const params = new URLSearchParams({
|
||||
page: String(page),
|
||||
pageSize: String(pageSize),
|
||||
})
|
||||
if (status) params.set('status', status)
|
||||
return api.get(`/api/v1/sepsis-bundles?${params}`)
|
||||
}
|
||||
Reference in New Issue
Block a user