wip: not loading themes until reload, missing in dashboard, bad alignment and scaling
This commit is contained in:
@@ -38,6 +38,10 @@ export async function updateEndDate(endDate: string | null): Promise<boolean> {
|
||||
return updateWishlist({ endDate: endDate || "" });
|
||||
}
|
||||
|
||||
export async function updateTheme(theme: string | null): Promise<boolean> {
|
||||
return updateWishlist({ theme: theme || "none" });
|
||||
}
|
||||
|
||||
export async function reorderItems(items: Array<{ id: string; order: number }>): Promise<boolean> {
|
||||
const response = await fetch("?/reorderItems", {
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user