Skip to content

Commit

Permalink
Merge pull request #18925 from davelopez/24.1_fix_data_dialog_collect…
Browse files Browse the repository at this point in the history
…ion_element_extension

[24.1] Fix extension not showing in DataDialog for collection elements
  • Loading branch information
mvdbeek authored Oct 3, 2024
2 parents c629bdd + be8e89b commit f93407a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/src/components/DataDialog/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export class Services {
/** Populate record data from raw record source **/
getRecord(record) {
const host = `${window.location.protocol}//${window.location.hostname}:${window.location.port}`;
record.extension = record.extension ?? record.file_ext;
record.details = record.extension || record.description;
record.time = record.update_time || record.create_time;
record.isLeaf = this.isDataset(record);
Expand Down

0 comments on commit f93407a

Please sign in to comment.