Fix advanced settings from always starting collapsed (#10561)

Previously the user's preference for whether the advanced settings starts opened or collapsed was ignored.
Resolves: #10556
This commit is contained in:
Alex Figueroa
2018-07-30 06:58:43 -07:00
committed by Matteo Pagliazzi
parent 7325bc0871
commit 774a1d9a96

View File

@@ -714,6 +714,9 @@ export default {
}, },
}; };
}, },
mounted () {
this.showAdvancedOptions = !this.user.preferences.advancedCollapsed;
},
watch: { watch: {
task () { task () {
this.syncTask(); this.syncTask();