Skip to content

Commit

Permalink
Merge pull request #18201 from davelopez/24.1_fix_files_dialog_select…
Browse files Browse the repository at this point in the history
…ion_highlight

[24.1] Fix selection highlight in Files Dialog when using items provider
  • Loading branch information
dannon authored May 22, 2024
2 parents 529ec35 + 18f0e14 commit a0f67db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/components/FilesDialog/FilesDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,8 @@ async function provideItems(ctx: ItemsProviderContext): Promise<SelectionItem[]>
);
const result = response.entries.map(entryToRecord);
totalItems.value = response.totalMatches;
items.value = result;
formatRows();
return result;
} catch (error) {
errorMessage.value = errorMessageAsString(error);
Expand Down

0 comments on commit a0f67db

Please sign in to comment.