Skip to content

Commit

Permalink
Merge pull request #212 from jef/chore/use-process-version
Browse files Browse the repository at this point in the history
chore: use process.env for version
  • Loading branch information
WDaan committed Apr 13, 2021
2 parents def3ae4 + c3e1bca commit b48dff6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/App.vue
Expand Up @@ -16,7 +16,6 @@
<script>
import { mapState, mapGetters } from 'vuex'
import Navbar from '@/components/Navbar/Navbar.vue'
import { version } from '../package.json'
import qbit from '@/services/qbit'
import { General } from '@/mixins'
Expand All @@ -35,7 +34,7 @@ export default {
}
},
created() {
this.$store.commit('SET_APP_VERSION', version)
this.$store.commit('SET_APP_VERSION', process.env['npm_package_version'])
this.checkDeviceDarkTheme()
this.checkAuthenticated()
},
Expand Down

0 comments on commit b48dff6

Please sign in to comment.