feat: custom branding (#112)
* add first concept * remove setup status * split config page in multiple components * add custom branding docs * add test email button * fix invalid email from header * add migration * mount images to host * update docs * remove unused endpoint * run formatter
This commit is contained in:
@@ -6,8 +6,8 @@ const list = async (): Promise<Config[]> => {
|
||||
return (await api.get("/configs")).data;
|
||||
};
|
||||
|
||||
const listForAdmin = async (): Promise<AdminConfig[]> => {
|
||||
return (await api.get("/configs/admin")).data;
|
||||
const getByCategory = async (category: string): Promise<AdminConfig[]> => {
|
||||
return (await api.get(`/configs/admin/${category}`)).data;
|
||||
};
|
||||
|
||||
const updateMany = async (data: UpdateConfig[]): Promise<AdminConfig[]> => {
|
||||
@@ -48,7 +48,7 @@ const isNewReleaseAvailable = async () => {
|
||||
|
||||
export default {
|
||||
list,
|
||||
listForAdmin,
|
||||
getByCategory,
|
||||
updateMany,
|
||||
get,
|
||||
finishSetup,
|
||||
|
||||
Reference in New Issue
Block a user