mirror of
https://github.com/bitwarden/web
synced 2025-12-15 15:53:18 +00:00
@@ -24,4 +24,10 @@ export class AddEditComponent extends BaseAddEditComponent {
|
||||
super(i18nService, platformUtilsService, environmentService, datePipe, sendService, userService,
|
||||
messagingService, policyService);
|
||||
}
|
||||
|
||||
copyLinkToClipboard(link: string) {
|
||||
// Copy function on web depends on the modal being open or not. Since this event occurs during a transition
|
||||
// of the modal closing we need to add a small delay to make sure state of the DOM is consistent.
|
||||
window.setTimeout(() => super.copyLinkToClipboard(link), 500);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user