-
}
- onClick={navigateRSForm}
- />
-
+
+ }
+ onClick={menuSchema.toggle}
+ />
+
+ }
+ onClick={handleRestoreOrder}
+ disabled={!isMutable || isProcessing}
+ />
+ }
+ onClick={handleReindex}
+ disabled={!isMutable || isProcessing}
+ />
+ }
+ onClick={navigateRSForm}
+ />
+
+
}
diff --git a/rsconcept/frontend/src/stores/app-layout.ts b/rsconcept/frontend/src/stores/app-layout.ts
index 333078c3..db4fe125 100644
--- a/rsconcept/frontend/src/stores/app-layout.ts
+++ b/rsconcept/frontend/src/stores/app-layout.ts
@@ -10,6 +10,9 @@ interface AppLayoutStore {
noFooter: boolean;
hideFooter: (value?: boolean) => void;
+
+ toastBottom: boolean;
+ setToastBottom: (value: boolean) => void;
}
export const useAppLayoutStore = create
()(set => ({
@@ -26,7 +29,10 @@ export const useAppLayoutStore = create()(set => ({
}),
noFooter: false,
- hideFooter: value => set({ noFooter: value ?? true })
+ hideFooter: value => set({ noFooter: value ?? true }),
+
+ toastBottom: false,
+ setToastBottom: value => set({ toastBottom: value })
}));
/** Utility function that returns the height of the main area. */