mirror of
https://github.com/getredash/redash.git
synced 2026-03-21 07:00:07 -04:00
17 lines
325 B
JavaScript
17 lines
325 B
JavaScript
import { axios } from "@/services/axios";
|
|
|
|
class OrganizationStatus {
|
|
constructor() {
|
|
this.objectCounters = {};
|
|
}
|
|
|
|
refresh() {
|
|
return axios.get("api/organization/status").then(data => {
|
|
this.objectCounters = data.object_counters;
|
|
return this;
|
|
});
|
|
}
|
|
}
|
|
|
|
export default new OrganizationStatus();
|