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) {
}
openDialog() {
this.loadWebdavDirectory();
if (this.enabledSources.includes('nextcloud')) {
this.loadWebdavDirectory();
}
MicroModal.show(this._('#modal-picker'), {
disableScroll: true,
onClose: modal => { this.isDialogOpen = false;
......
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