diff --git a/src/components/settings_modal/helpers/setting.js b/src/components/settings_modal/helpers/setting.js index d0dce5950..a3fc5931e 100644 --- a/src/components/settings_modal/helpers/setting.js +++ b/src/components/settings_modal/helpers/setting.js @@ -413,8 +413,7 @@ export default { hardReset() { switch (this.realSource) { case 'admin': - return this.$store - .dispatch('resetAdminSetting', { path: this.path }) + return useAdminSettingsStore().resetAdminSetting({ path: this.path }) .then(() => { this.draft = this.state })