Spaces quick settings (#7196)
This commit is contained in:
parent
138f6685d4
commit
9fefeefc8c
10 changed files with 366 additions and 32 deletions
|
@ -23,7 +23,7 @@ import StyledCheckbox from "../../../elements/StyledCheckbox";
|
|||
import { useSettingValue } from "../../../../../hooks/useSettings";
|
||||
import { MetaSpace } from "../../../../../stores/spaces";
|
||||
|
||||
const onMetaSpaceChangeFactory = (metaSpace: MetaSpace) => (e: ChangeEvent<HTMLInputElement>) => {
|
||||
export const onMetaSpaceChangeFactory = (metaSpace: MetaSpace) => (e: ChangeEvent<HTMLInputElement>) => {
|
||||
const currentValue = SettingsStore.getValue("Spaces.enabledMetaSpaces");
|
||||
SettingsStore.setValue("Spaces.enabledMetaSpaces", null, SettingLevel.ACCOUNT, {
|
||||
...currentValue,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue