Skip to content

Commit

Permalink
fix(): review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Jul 21, 2023
1 parent b507bd2 commit c6dcd61
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions ui/src/components/executions/VarValue.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
<template>
<el-button
v-if="isFile(value)"
:icon="Download"
@click="download(value)"
type="primary"
>
<span>
{{ $t('download') }}
<span v-if="humanSize">({{ humanSize }})</span>
</span>
</el-button>
<a class="el-button el-button--primary mt-3 " v-if="isFile(value)" :href="itemUrl(value)" target="_blank">
<Download />
&nbsp;
{{ $t('download') }}
&nbsp;
<span v-if="humanSize">({{ humanSize }})</span>
</a>
<span v-else>
{{ value }}
</span>
Expand Down

0 comments on commit c6dcd61

Please sign in to comment.