mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-02-18 00:02:02 +03:00
chore: use process.env for version
This commit is contained in:
parent
def3ae41f5
commit
c3e1bca854
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…
Add table
Reference in a new issue