Skip to content

Commit

Permalink
Remove unnecessary string interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
bdukes authored Sep 20, 2023
1 parent 0d3022d commit 9aceb97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class DnnActionCopyUrl {
private handleClick(): void {
let t;
if (this.items[0].path.includes(":")) {
t = `${this.items[0].path}`;
t = this.items[0].path;
} else {
t = `${window.location.protocol}//${window.location.host}${this.items[0].path}`;
}
Expand Down

0 comments on commit 9aceb97

Please sign in to comment.