commit: 7ab5ee9cba99eb675912a0b7ac7a05949cab91f7
parent 5b93e4a0ded16d03db45f2e05ec9e4546d42fb36
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Tue, 13 Jun 2023 18:47:51 +0000
Merge branch 'tusooa/1262-edit-profile-button' into 'develop'
Fix openSettingsModalTab
Closes #1262
See merge request pleroma/pleroma-fe!1838
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 },