Skip to content

Commit fcc0a0b

Browse files
authored
Merge branch 'KelvinTegelaar:dev' into dev
2 parents 34e6d99 + e8c9603 commit fcc0a0b

File tree

3 files changed

+221
-183
lines changed

3 files changed

+221
-183
lines changed

src/components/tables/CellGenericFormat.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ export const cellGenericFormatter =
7979
if (cell.toLowerCase() === 'failed') {
8080
return <CBadge color="danger">{CellTip('Failed to retrieve from API')}</CBadge>
8181
}
82+
if (cell.toLowerCase().startsWith('http')) {
83+
return <a href={`${cell}`}>URL</a>
84+
}
8285
return CellTip(cell)
8386
}
8487
if (typeof cell === 'number') {

0 commit comments

Comments
 (0)