commit: 4e6af5bd234d9ce9be04286d7645d81a3cbc910b
parent 5b93e4a0ded16d03db45f2e05ec9e4546d42fb36
Author: tusooa <tusooa@kazv.moe>
Date: Tue, 13 Jun 2023 14:00:20 -0400
Fix openSettingsModalTab
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/changelog.d/edit-profile-button.fix b/changelog.d/edit-profile-button.fix
@@ -0,0 +1 @@
+Fix openSettingsModalTab so that it correctly opens Settings modal instead of Admin modal
diff --git a/src/modules/interface.js b/src/modules/interface.js
@@ -112,7 +112,7 @@ const interfaceMod = {
},
openSettingsModalTab ({ commit }, value) {
commit('setSettingsModalTargetTab', value)
- commit('openSettingsModal')
+ commit('openSettingsModal', 'user')
},
pushGlobalNotice (
{ commit, dispatch, state },