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 committed by Ulf Gebhardt
parent 9787764e6c
commit 47e283ac65
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

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>