This commit is contained in:
Henry Jameson 2026-09-02 16:18:56 +03:00
commit c4442f595d

View file

@ -413,8 +413,7 @@ export default {
hardReset() { hardReset() {
switch (this.realSource) { switch (this.realSource) {
case 'admin': case 'admin':
return this.$store return useAdminSettingsStore().resetAdminSetting({ path: this.path })
.dispatch('resetAdminSetting', { path: this.path })
.then(() => { .then(() => {
this.draft = this.state this.draft = this.state
}) })