mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-11 14:48:46 +01:00
fix: text-drag directive ts-strict error (#12346)
This commit is contained in:
parent
e8d8a816dd
commit
d4fcb5852a
@ -17,6 +17,6 @@ export class TextDragDirective {
|
|||||||
|
|
||||||
@HostListener("dragstart", ["$event"])
|
@HostListener("dragstart", ["$event"])
|
||||||
onDragStart(event: DragEvent) {
|
onDragStart(event: DragEvent) {
|
||||||
event.dataTransfer.setData("text", this.data);
|
event.dataTransfer?.setData("text", this.data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user