mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix position, change code, yarn lint fix
This commit is contained in:
parent
5a56143fb0
commit
c75e90a3a7
@ -7,6 +7,7 @@ const environment = {
|
||||
NODE_ENV: process.env.NODE_ENV,
|
||||
DEBUG: process.env.NODE_ENV !== 'production' || false,
|
||||
PRODUCTION: process.env.NODE_ENV === 'production' || false,
|
||||
APP_VERSION: process.env.VUE_APP_VERSION || require('./package.json').version,
|
||||
}
|
||||
|
||||
const server = {
|
||||
|
||||
@ -26,13 +26,8 @@ export const store = new Vuex.Store({
|
||||
'Access-Control-Allow-Credentials': 'true',
|
||||
},
|
||||
},
|
||||
packageVersion: process.env.VUE_APP_VERSION|| '0',
|
||||
},
|
||||
getters: {
|
||||
appVersion: (state) => {
|
||||
return state.packageVersion
|
||||
}
|
||||
},
|
||||
getters: {},
|
||||
// Syncronous mutation of the state
|
||||
mutations: {
|
||||
language: (state, language) => {
|
||||
|
||||
@ -4,7 +4,11 @@
|
||||
<b-col>
|
||||
<div class="copyright text-center text-lg-center text-muted">
|
||||
© {{ year }}
|
||||
<a href="#/Login" class="font-weight-bold ml-1">Gradido-Akademie</a> | App Verion {{ $store.getters.appVersion }}
|
||||
<a href="#/Login" class="font-weight-bold ml-1">Gradido-Akademie</a>
|
||||
|
|
||||
<a href="https://github.com/gradido/gradido/releases/latest" target="_blank">
|
||||
App Verion {{ version }}
|
||||
</a>
|
||||
</div>
|
||||
</b-col>
|
||||
</b-row>
|
||||
@ -24,16 +28,18 @@
|
||||
GDD-Explorer
|
||||
</b-nav-item> -->
|
||||
</b-nav>
|
||||
</b-col>
|
||||
</b-col>
|
||||
</b-row>
|
||||
|
||||
</footer>
|
||||
</template>
|
||||
<script>
|
||||
import CONFIG from '../../config'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
year: new Date().getFullYear(),
|
||||
version: CONFIG.APP_VERSION,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
const path = require('path')
|
||||
const dotenv = require('dotenv-webpack')
|
||||
process.env.VUE_APP_VERSION = require('./package.json').version
|
||||
|
||||
|
||||
function resolveSrc(_path) {
|
||||
return path.join(__dirname, _path)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user