Add UI for default profile

This commit is contained in:
Webifi
2023-06-03 16:50:08 -05:00
parent 2880cf3750
commit 759eb35bc6
5 changed files with 88 additions and 15 deletions

View File

@@ -333,6 +333,12 @@
globalStorage.set(store)
}
export const getGlobalSettingValue = (key:keyof GlobalSetting, value):any => {
const store = get(globalStorage)
return store[key]
}
export const getGlobalSettings = ():GlobalSettings => {
return get(globalStorage)
}