Skip to content

Commit

Permalink
feat: field.type = url
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed May 14, 2022
1 parent 171a038 commit 57ec1c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -807,7 +807,7 @@ export default {
valueText = `<a href="https://${valueText}" target="_blank">${valueText}</a>`;
}
if (colName.match(/url/i)) {
if (colName.match(/url/i) || field.type === 'url') {
valueText = `<a href="${valueText}" target="_blank">${valueText}</a>`;
}
Expand Down

0 comments on commit 57ec1c4

Please sign in to comment.