diff --git a/frontend/bun.lockb b/frontend/bun.lockb index 9f24b8e..e377e87 100755 Binary files a/frontend/bun.lockb and b/frontend/bun.lockb differ diff --git a/frontend/modules/core/api.ts b/frontend/modules/core/api.ts index 960409c..0001ab6 100644 --- a/frontend/modules/core/api.ts +++ b/frontend/modules/core/api.ts @@ -60,7 +60,7 @@ export class CoreAPI { return exec(`/api/config/${this.cluster}/resource/${id}`, { baseURL: this.baseURL, params: filter }) } - createException (id: string, source: string, policies: ExceptionPolicy[], category?: string) { + createException (id: string, source: string, policies?: ExceptionPolicy[], category?: string) { return exec(`/api/config/${this.cluster}/resource/${id}/exception`, { baseURL: this.baseURL, method: "POST", body: { policies, source, category } }) } diff --git a/frontend/modules/core/components/resource/ExceptionDialog.vue b/frontend/modules/core/components/resource/ExceptionDialog.vue index 0608c01..e4af7be 100644 --- a/frontend/modules/core/components/resource/ExceptionDialog.vue +++ b/frontend/modules/core/components/resource/ExceptionDialog.vue @@ -6,7 +6,7 @@ rounded="0" :class="btnClass" variant="flat" - color="secondary" + color="exception" size="small" :height="height as any"> Exception @@ -73,7 +73,6 @@