From 18f0e141055fbf1c32cdb26fad668e97499a1640 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Wed, 22 May 2024 15:41:01 +0200 Subject: [PATCH] Fix selection highlight when using items provider --- client/src/components/FilesDialog/FilesDialog.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/components/FilesDialog/FilesDialog.vue b/client/src/components/FilesDialog/FilesDialog.vue index a589ad13e6c6..1020f8afd105 100644 --- a/client/src/components/FilesDialog/FilesDialog.vue +++ b/client/src/components/FilesDialog/FilesDialog.vue @@ -322,6 +322,8 @@ async function provideItems(ctx: ItemsProviderContext): Promise ); const result = response.entries.map(entryToRecord); totalItems.value = response.totalMatches; + items.value = result; + formatRows(); return result; } catch (error) { errorMessage.value = errorMessageAsString(error);