diff --git a/src/lang/en.js b/src/lang/en.js index 3fa42e8c..df122612 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -363,7 +363,8 @@ export default { assets: 'Assets', emoji: 'Emoji', markup: 'Markup settings', - corsPlug: 'CORS plug config' + corsPlug: 'CORS plug config', + instanceReboot: 'Instance Reboot' }, invites: { inviteTokens: 'Invite tokens', diff --git a/src/store/modules/settings.js b/src/store/modules/settings.js index 0ecbc9a2..84c4a9dd 100644 --- a/src/store/modules/settings.js +++ b/src/store/modules/settings.js @@ -6,11 +6,13 @@ const settings = { state: { activeTab: 'instance', configDisabled: true, - description: [], - settings: {}, - updatedSettings: {}, db: {}, - loading: true + description: [], + loading: true, + needReboot: true, + settings: {}, + updatedSettings: {} + }, mutations: { CLEAR_UPDATED_SETTINGS: (state) => { diff --git a/src/views/settings/index.vue b/src/views/settings/index.vue index bc2099ad..cca7959f 100644 --- a/src/views/settings/index.vue +++ b/src/views/settings/index.vue @@ -3,17 +3,25 @@