mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Contentfooter
- brackets - use BUILD_COMMIT and BUILD_COMMIT_SHORT - check for null value instead of 0000000
This commit is contained in:
parent
9024534eac
commit
3eb2e4b541
@ -16,11 +16,11 @@
|
|||||||
App version {{ version }}
|
App version {{ version }}
|
||||||
</a>
|
</a>
|
||||||
<a
|
<a
|
||||||
v-if="shortHash !== '00000000'"
|
v-if="hash"
|
||||||
:href="'https://github.com/gradido/gradido/commit/' + hash"
|
:href="'https://github.com/gradido/gradido/commit/' + hash"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
{{ shortHash }}
|
({{ shortHash }})
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</b-col>
|
</b-col>
|
||||||
@ -66,8 +66,8 @@ export default {
|
|||||||
return {
|
return {
|
||||||
year: new Date().getFullYear(),
|
year: new Date().getFullYear(),
|
||||||
version: CONFIG.APP_VERSION,
|
version: CONFIG.APP_VERSION,
|
||||||
hash: CONFIG.COMMIT_HASH,
|
hash: CONFIG.BUILD_COMMIT,
|
||||||
shortHash: CONFIG.COMMIT_HASH.substr(0, 8),
|
shortHash: CONFIG.BUILD_COMMIT_SHORT,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user