Skip to content
Snippets Groups Projects
Commit 5444da37 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Add missing check on deploy variabĺe in filehandling for clipboard

parent 97d7c66c
No related branches found
No related tags found
No related merge requests found
Pipeline #25224 passed
......@@ -139,7 +139,7 @@ export class FileSink extends ScopedElementsMixin(DBPLitElement) {
if (this.files.length !== 0 && !this.isDialogOpen) {
console.log("--------------", this.files);
this.openDialog();
if (this.enabledTargets.includes("clipboard")) {
if (this.showClipboard && this.enabledTargets.includes("clipboard")) {
this._("#clipboard-file-sink").filesToSave = this.files;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment