Get version from package info
This commit is contained in:
parent
fd5e157c71
commit
033b649402
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export default {
|
|||
checkServerVersion: function () {
|
||||
this.$store.dispatch('updateState')
|
||||
.then (() => {
|
||||
var clientVersion = process.env.PACKAGE_VERSION
|
||||
var clientVersion = process.env.PACKAGE.version
|
||||
var clientVersionMajor = clientVersion.substring(0, 3)
|
||||
console.log(clientVersionMajor)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue