forked from Mirrors/elk
feat: link to github releases from version number in app
This commit is contained in:
parent
39f9e7b6ad
commit
f78a7cd98d
1 changed files with 9 additions and 2 deletions
|
@ -47,8 +47,15 @@ function toggleDark() {
|
||||||
{{ $t('nav.built_at', [$d(buildTimeDate, 'shortDate')]) }}
|
{{ $t('nav.built_at', [$d(buildTimeDate, 'shortDate')]) }}
|
||||||
</span>
|
</span>
|
||||||
·
|
·
|
||||||
<!-- TODO click version to show changelog -->
|
<NuxtLink
|
||||||
<span v-if="buildInfo.env === 'release'">v{{ buildInfo.version }}</span>
|
v-if="buildInfo.env === 'release'"
|
||||||
|
external
|
||||||
|
:href="`https://github.com/elk-zone/elk/releases/tag/v${buildInfo.version}`"
|
||||||
|
target="_blank"
|
||||||
|
font-mono
|
||||||
|
>
|
||||||
|
v{{ buildInfo.version }}
|
||||||
|
</NuxtLink>
|
||||||
<span v-else>{{ buildInfo.env }}</span>
|
<span v-else>{{ buildInfo.env }}</span>
|
||||||
<template v-if="buildInfo.commit && buildInfo.branch !== 'release'">
|
<template v-if="buildInfo.commit && buildInfo.branch !== 'release'">
|
||||||
·
|
·
|
||||||
|
|
Loading…
Reference in a new issue