mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
feat(header): add chevron / unified sidebar collapse
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user