chore: build
Backend - Build & Lint / build (push) Has been cancelled
Frontend Web - Build & Lint / build (push) Has been cancelled

This commit is contained in:
2026-06-21 14:48:38 +02:00
parent 880d5ac234
commit 5568ebdf31
6 changed files with 31 additions and 3 deletions
+6
View File
@@ -1865,6 +1865,8 @@ export interface PublicSettings {
client_color_success: string;
client_color_danger: string;
client_color_warning: string;
client_title_gradient_from: string;
client_title_gradient_to: string;
}
export const getPublicSettings = async (): Promise<PublicSettings> => {
@@ -1887,6 +1889,8 @@ export const getPublicSettings = async (): Promise<PublicSettings> => {
client_color_success: "#22c55e",
client_color_danger: "#ef4444",
client_color_warning: "#f59e0b",
client_title_gradient_from: "#a78bfa",
client_title_gradient_to: "#22d3ee",
};
try {
const response = await fetch(`${API_URL}/app-settings`);
@@ -1916,6 +1920,8 @@ export const getPublicSettings = async (): Promise<PublicSettings> => {
client_color_success: data.client_color_success || "#22c55e",
client_color_danger: data.client_color_danger || "#ef4444",
client_color_warning: data.client_color_warning || "#f59e0b",
client_title_gradient_from: data.client_title_gradient_from || "#a78bfa",
client_title_gradient_to: data.client_title_gradient_to || "#22d3ee",
};
} catch {
return defaults;