Mercurial > gemma
changeset 3399:e5df2cbb4d48
client: user manual: fix console error and hide it when url is not cofigured
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Thu, 23 May 2019 11:32:23 +0200 |
parents | 01f64ee0831f |
children | 9f4308edc70a |
files | client/src/components/identify/Identify.vue |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/identify/Identify.vue Thu May 23 10:57:46 2019 +0200 +++ b/client/src/components/identify/Identify.vue Thu May 23 11:32:23 2019 +0200 @@ -56,11 +56,15 @@ <translate>No features identified.</translate> </div> </div> - <div class="border-top text-left pl-2" style="font-size: 90%;"> + <div + v-if="userManualUrl" + class="border-top text-left pl-2" + style="font-size: 90%;" + > <translate>Download</translate> <a :href="userManualUrl ? userManualUrl : '#'" - :download="!!userManualUrl.length" + :download="userManualUrl && !!userManualUrl.length" ><translate> User Manual</translate></a > </div>