Merge branch 'feature/version-info' into 'develop'
Added new tab to display versions of BE/FE Closes #397 See merge request pleroma/pleroma-fe!671
This commit is contained in:
commit
57cd6f8018
6 changed files with 61 additions and 4 deletions
|
@ -203,6 +203,12 @@ const getNodeInfo = async ({ store }) => {
|
|||
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 })
|
||||
} else {
|
||||
throw (res)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue