mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
additional zero check for fixing broken tests
This commit is contained in:
parent
d4ca210e8f
commit
9787764e6c
@ -63,7 +63,10 @@ export default {
|
|||||||
year: new Date().getFullYear(),
|
year: new Date().getFullYear(),
|
||||||
version: CONFIG.APP_VERSION,
|
version: CONFIG.APP_VERSION,
|
||||||
hash: process.env.VUE_APP_BUILD_COMMIT,
|
hash: process.env.VUE_APP_BUILD_COMMIT,
|
||||||
shortHash: process.env.VUE_APP_BUILD_COMMIT.substr(0, 8),
|
shortHash:
|
||||||
|
process.env.VUE_APP_BUILD_COMMIT !== undefined
|
||||||
|
? process.env.VUE_APP_BUILD_COMMIT.substr(0, 8)
|
||||||
|
: '00000000',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user