mirror of
https://github.com/open-reception/appointment-booking-software.git
synced 2026-09-22 00:44:52 +02:00
Review changes
This commit is contained in:
@@ -13,7 +13,6 @@ export const SIDEBAR_EDUCATION_STORAGE_KEY = "sidebar-is-educated";
|
||||
function createSidebarStore() {
|
||||
const isOpenValue = browser ? getCookie(SIDEBAR_OPEN_STORAGE_KEY) : null;
|
||||
const isEducatedValue = browser ? getCookie(SIDEBAR_EDUCATION_STORAGE_KEY) : null;
|
||||
console.log("isEducatedValue", isEducatedValue);
|
||||
const store = writable<AuthState>({
|
||||
isOpen: isOpenValue === "true" ? true : false,
|
||||
isEducated: isEducatedValue === "true" ? true : false,
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
export type TTenant = {
|
||||
id: string;
|
||||
shortName: string;
|
||||
longName: string;
|
||||
setupState: "NEW" | "SETTINGS_CREATED" | "AGENTS_SET_UP" | "FIRST_CHANNEL_CREATED";
|
||||
};
|
||||
import type { SelectTenant } from "$lib/server/db/central-schema";
|
||||
|
||||
export type TTenant = Pick<SelectTenant, "id" | "shortName" | "longName" | "setupState">;
|
||||
|
||||
Reference in New Issue
Block a user