mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-29 05:28:53 +03:00
Merge pull request #212 from jef/chore/use-process-version
chore: use process.env for version
This commit is contained in:
commit
b48dff64db
1 changed files with 1 additions and 2 deletions
|
@ -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'
|
||||
|
||||
|
@ -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()
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue