From 3587e11ac6ed24aff4e4ed8bea183a22c68ef061 Mon Sep 17 00:00:00 2001
From: Tamara Steinwender <tamara.steinwender@tugraz.at>
Date: Thu, 27 May 2021 16:46:01 +0200
Subject: [PATCH] Fix a bug in nextcloud: when click select all, the button
 select files is still disabled

---
 packages/file-handling/src/dbp-nextcloud-file-picker.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packages/file-handling/src/dbp-nextcloud-file-picker.js b/packages/file-handling/src/dbp-nextcloud-file-picker.js
index 8cbaf987..1b42c128 100644
--- a/packages/file-handling/src/dbp-nextcloud-file-picker.js
+++ b/packages/file-handling/src/dbp-nextcloud-file-picker.js
@@ -926,6 +926,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
         this.tabulatorTable.selectRow(this.tabulatorTable.getRows().filter(row => row.getData().type != 'directory' && this.checkFileType(row.getData(), this.allowedMimeTypes)));
         if (this.tabulatorTable.getSelectedRows().length > 0) {
             this.selectAllButton = false;
+            this.isSelected = true;
         }
     }
 
-- 
GitLab