Skip to content

Commit

Permalink
add path to fileinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed May 23, 2024
1 parent 078b9c3 commit e03ec60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions shared/api/utils/shared_files_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ export default class SharedFilesUtil extends SharedUtil
info.fileDb.fileName = this.getAssetFileName(fileDb);
info.cachebuster = fileDb.cachebuster;
info.date = fileDb.updated;
info.readableDateSince = new moment(fileDb.updated).fromNow();
info.readableDate = new moment(fileDb.updated).format("lll");
info.converters = [];

info.converters = this.getConvertersForFile(this.getAssetFileName(fileDb) + "");
Expand All @@ -97,6 +95,7 @@ export default class SharedFilesUtil extends SharedUtil
}

info.icon = this.getFileIconName(fileDb);
info.path = this.getFileAssetUrlPath(fileDb);

return info;
}
Expand Down

0 comments on commit e03ec60

Please sign in to comment.