feat(header): add chevron / unified sidebar collapse

This commit is contained in:
Paul
2021-12-24 13:02:49 +00:00
parent e263b627aa
commit d8d002cc4a
7 changed files with 91 additions and 79 deletions

View File

@@ -177,6 +177,6 @@ export default class Layout implements Store, Persistent<Data> {
* @param def Default state value
*/
@action toggleSectionState(id: string, def?: boolean) {
this.setSectionState(id, !this.getSectionState(id, def));
this.setSectionState(id, !this.getSectionState(id, def), def);
}
}