Skip to content

Commit

Permalink
Fix extension not showing in DataDialog for collection elements
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Oct 2, 2024
1 parent c629bdd commit be8e89b
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 be8e89b

Please sign in to comment.