feat: Adds the ability to add new locale in portal (#5363)

This commit is contained in:
Muhsin Keloth
2022-09-01 22:19:30 +05:30
committed by GitHub
parent 7f3f6f7129
commit 504d339dd7
11 changed files with 193 additions and 206 deletions

View File

@@ -36,8 +36,7 @@ export const actions = {
}
},
update: async ({ commit }, { portalObj }) => {
const portalSlug = portalObj.slug;
update: async ({ commit }, { portalSlug, ...portalObj }) => {
commit(types.SET_HELP_PORTAL_UI_FLAG, {
uiFlags: { isUpdating: true },
portalSlug,