Added new tab to display versions of BE/FE

This commit is contained in:
Edijs 2019-03-10 16:58:12 -07:00
parent 841648676c
commit 068c9724e4
6 changed files with 63 additions and 3 deletions

View file

@ -176,6 +176,12 @@ const afterStoreSetup = ({ store, i18n }) => {
const suggestions = metadata.suggestions
store.dispatch('setInstanceOption', { name: 'suggestionsEnabled', value: suggestions.enabled })
store.dispatch('setInstanceOption', { name: 'suggestionsWeb', value: suggestions.web })
const software = data.software
store.dispatch('setInstanceOption', { name: 'backendVersion', value: software.version })
const frontendVersion = window.___pleromafe_commit_hash
store.dispatch('setInstanceOption', { name: 'frontendVersion', value: frontendVersion })
})
}