Skip to content

Commit

Permalink
feat: added clickable link from the shortlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefanie Gevaert committed Sep 19, 2022
1 parent f133165 commit e6a0b83
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion buildchain/src/vue/organisms/fields/ShortlinkField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ const sanitisedShortlinkId = computed(() => props.shortlinkId === 0 ? null : pro
:key="shortlinkUrl.shortlinkUrl"
class="value pb-1 text-xs"
>
{{ shortlinkUrl.shortlinkUrl }}/{{ shortlinkInput }}
<a
:href="`${ shortlinkUrl.shortlinkUrl }/${ shortlinkInput }`"
:title="shortlinkUrl.shortlinkUrl"
target="_blank"
>{{ shortlinkUrl.shortlinkUrl }}/{{ shortlinkInput }}</a>
</dd>
</div>
</dl>
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/web/assets/dist/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
]
},
"src/js/shortlink-field.ts": {
"file": "assets/shortlink-field.d0d1f654.js",
"file": "assets/shortlink-field.5269bda4.js",
"src": "src/js/shortlink-field.ts",
"isEntry": true
}
Expand Down

0 comments on commit e6a0b83

Please sign in to comment.