adding moritz suggestion to don't show the commit hash link if no commit hash was given

This commit is contained in:
einhornimmond 2021-09-09 12:52:54 +02:00
parent e24c3e21a6
commit 434fbb6d2f

View File

@ -15,7 +15,11 @@
<a href="https://github.com/gradido/gradido/releases/latest" target="_blank">
App version {{ version }}
</a>
<a :href="'https://github.com/gradido/gradido/commit/' + hash" target="_blank">
<a
v-if="shortHash !== '00000000'"
:href="'https://github.com/gradido/gradido/commit/' + hash"
target="_blank"
>
{{ shortHash }}
</a>
</div>