Skip to content
Snippets Groups Projects
Unverified Commit ef9e98bd authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Only load webdav directory if nextcloud is enabled

parent 78bca35a
No related branches found
No related tags found
No related merge requests found
Pipeline #14278 passed
...@@ -316,7 +316,10 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) { ...@@ -316,7 +316,10 @@ export class FileSource extends ScopedElementsMixin(DBPLitElement) {
} }
openDialog() { openDialog() {
this.loadWebdavDirectory(); if (this.enabledSources.includes('nextcloud')) {
this.loadWebdavDirectory();
}
MicroModal.show(this._('#modal-picker'), { MicroModal.show(this._('#modal-picker'), {
disableScroll: true, disableScroll: true,
onClose: modal => { this.isDialogOpen = false; onClose: modal => { this.isDialogOpen = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment