mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 19:14:59 +02:00
Expose 2 new columns: Creation and Modif. Date
Expose 2 new optional columns: - Creation Date - Modification Date To address Issue #673
This commit is contained in:
parent
7c4115c4cf
commit
a264fc358e
1 changed files with 17 additions and 1 deletions
|
@ -141,7 +141,21 @@ const COLUMNS = {
|
|||
propertyID: "hasScript",
|
||||
initialWidth: 0.06,
|
||||
defaultSortOrder: DESCENDING_SORT,
|
||||
},
|
||||
},
|
||||
created: {
|
||||
columnHeader: "Created (UTC)",
|
||||
dropdownLabel: "Creation Date",
|
||||
propertyID: "created",
|
||||
initialWidth: 0.38,
|
||||
defaultSortOrder: DESCENDING_SORT,
|
||||
},
|
||||
lastEdited: {
|
||||
columnHeader: "Modified (UTC)",
|
||||
dropdownLabel: "Modification Date",
|
||||
propertyID: "lastEdited",
|
||||
initialWidth: 0.38,
|
||||
defaultSortOrder: DESCENDING_SORT,
|
||||
},
|
||||
};
|
||||
|
||||
const FILTER_TYPES = [
|
||||
|
@ -842,6 +856,8 @@ function loaded() {
|
|||
drawCalls: displayIfNonZero(entity.drawCalls),
|
||||
hasScript: entity.hasScript,
|
||||
parentState: entity.parentState,
|
||||
created: entity.created,
|
||||
lastEdited: entity.lastEdited,
|
||||
elRow: null, // if this entity has a visible row element assigned to it
|
||||
selected: false // if this entity is selected for edit regardless of having a visible row
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue