Skip to content

Commit 2ce6d21

Browse files
committed
Merge branch 'dev' of https://github.com/johnduprey/CIPP into dev
2 parents fd8d393 + fcc0a0b commit 2ce6d21

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)