Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: TT-178 Make URI clickable when possible
  • Loading branch information
wobravo committed Mar 19, 2021
commit 545bdc0ddb57c310ae6349ce815614a2a2ca7c1d
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
return this.isURL(uri) ? window.open(uri, '_blank') : '';
}

isURL(uri: string) {
isURL(uri: string): boolean {
const regex = new RegExp('http*', 'g');
return regex.test(uri);
}
Expand Down