Skip to content

Commit 545bdc0

Browse files
committed
fix: TT-178 Make URI clickable when possible
1 parent 18e26b1 commit 545bdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
9494
return this.isURL(uri) ? window.open(uri, '_blank') : '';
9595
}
9696

97-
isURL(uri: string) {
97+
isURL(uri: string): boolean {
9898
const regex = new RegExp('http*', 'g');
9999
return regex.test(uri);
100100
}

0 commit comments

Comments
 (0)