Commit 033b6494 authored by jtc42's avatar jtc42
Browse files

Get version from package info

parent fd5e157c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)