Skip to content
Snippets Groups Projects
Commit 205e0c2d authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Fix an error in case the clipboard is disabled

Otherwhise it will try to access it an error out when trying to open
the dialog.
parent 469a68ee
No related branches found
No related tags found
No related merge requests found
Pipeline #24143 passed
......@@ -379,7 +379,7 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
this.loadWebdavDirectory();
}
if (this.enabledTargets.includes('clipboard')) {
if (this.enabledTargets.includes('clipboard') && this.showClipboard) {
this._("#clipboard-file-picker").generateClipboardTable();
this._("#clipboard-file-picker").showSelectAllButton = true;
}
......
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