mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
psss doc to copy function
This commit is contained in:
@@ -116,7 +116,8 @@ export class ViewComponent implements OnDestroy {
|
||||
}
|
||||
|
||||
this.analytics.eventTrack.next({ action: 'Copied ' + aType });
|
||||
this.platformUtilsService.copyToClipboard(value);
|
||||
const copyOptions = this.win != null ? { doc: this.win.document } : null;
|
||||
this.platformUtilsService.copyToClipboard(value, copyOptions);
|
||||
this.toasterService.popAsync('info', null,
|
||||
this.i18nService.t('valueCopied', this.i18nService.t(typeI18nKey)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user