You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
317 B
9 lines
317 B
import store from 'app/core/store';
|
|
|
|
export function saveSectionOpenState(id: string, isOpen: boolean) {
|
|
store.set(`panel-edit-section-${id}`, isOpen ? 'true' : 'false');
|
|
}
|
|
|
|
export function getSectionOpenState(id: string, defaultValue: boolean) {
|
|
return store.getBool(`panel-edit-section-${id}`, defaultValue);
|
|
}
|
|
|