fix setting default alignment
This commit is contained in:
parent
1f65cca002
commit
b4e932581c
@ -401,8 +401,15 @@ export default {
|
|||||||
commandArguments = undefined;
|
commandArguments = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
await this.siteSettings.set(option, commandArguments);
|
await this.siteSettings.set(option, commandArguments, {reload: false});
|
||||||
this.$nextTick( () => this.$forceUpdate() );
|
|
||||||
|
// changing alignment options doesn't trigger re-compute, so we need to do it ourselves.
|
||||||
|
// note that this re-computes siteDefaultAlignment even when setting other options, but
|
||||||
|
// it's _too late AM_ and hit to performance probably isn't bad enough to warrant
|
||||||
|
// spending time on a more correct solution tomorrow
|
||||||
|
this._computedWatchers.siteDefaultAlignment.run();
|
||||||
|
|
||||||
|
this.$nextTick( () => this.$forceUpdate());
|
||||||
},
|
},
|
||||||
setExtensionMode(component, event) {
|
setExtensionMode(component, event) {
|
||||||
const option = event.target.value;
|
const option = event.target.value;
|
||||||
|
Loading…
Reference in New Issue
Block a user