Skip to content

Commit

Permalink
refactor: admin system info to vue3 comp api
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Apr 11, 2022
1 parent 464f55c commit 07d274c
Show file tree
Hide file tree
Showing 3 changed files with 244 additions and 216 deletions.
2 changes: 1 addition & 1 deletion ux/src/pages/AdminGeneral.vue
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,8 @@ async function save () {
type: 'positive',
message: t('admin.general.saveSuccess')
})
await adminStore.fetchSites()
if (adminStore.currentSiteId === siteStore.id) {
await adminStore.fetchSites()
siteStore.$patch({
title: state.config.title,
description: state.config.description,
Expand Down
Loading

0 comments on commit 07d274c

Please sign in to comment.