Skip to content

Commit

Permalink
Merge pull request #5817 from PabloSR06/develop
Browse files Browse the repository at this point in the history
resourceManager bad url using Azure
  • Loading branch information
valadas committed Sep 20, 2023
2 parents a8316d0 + 9aceb97 commit c7b6f1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ body:
multiple: true
options:
- 9.12.0 (latest release)
- 9.13.0 (release candidate)
- 10.0.0 (alpha)
validations:
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ export class DnnActionCopyUrl {
@Prop() items!: Item[];

private handleClick(): void {
const url = `${window.location.protocol}//${window.location.host}${this.items[0].path}`;
navigator.clipboard.writeText(url);
let t;
if (this.items[0].path.includes(":")) {
t = this.items[0].path;
} else {
t = `${window.location.protocol}//${window.location.host}${this.items[0].path}`;
}
navigator.clipboard.writeText(t);
}

render() {
Expand Down

0 comments on commit c7b6f1c

Please sign in to comment.