mirror of
https://github.com/nasa/openmct.git
synced 2025-06-21 08:39:59 +00:00
[Timeline] Fix column module definitions
This commit is contained in:
@ -22,6 +22,8 @@
|
|||||||
/*global define*/
|
/*global define*/
|
||||||
|
|
||||||
define([], function () {
|
define([], function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function CompositionColumn(index) {
|
function CompositionColumn(index) {
|
||||||
this.index = index;
|
this.index = index;
|
||||||
}
|
}
|
||||||
@ -35,4 +37,6 @@ define([], function () {
|
|||||||
composition = model.composition || [];
|
composition = model.composition || [];
|
||||||
return (composition[this.index]) || "";
|
return (composition[this.index]) || "";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
return CompositionColumn;
|
||||||
});
|
});
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
/*global define*/
|
/*global define*/
|
||||||
|
|
||||||
define([], function () {
|
define([], function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function MetadataColumn(property) {
|
function MetadataColumn(property) {
|
||||||
this.property = property;
|
this.property = property;
|
||||||
}
|
}
|
||||||
@ -38,4 +40,6 @@ define([], function () {
|
|||||||
});
|
});
|
||||||
return property ? property.value : "";
|
return property ? property.value : "";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
return MetadataColumn;
|
||||||
});
|
});
|
||||||
|
@ -22,6 +22,8 @@
|
|||||||
/*global define*/
|
/*global define*/
|
||||||
|
|
||||||
define([], function () {
|
define([], function () {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function ModeColumn(index) {
|
function ModeColumn(index) {
|
||||||
this.index = index;
|
this.index = index;
|
||||||
}
|
}
|
||||||
@ -35,4 +37,6 @@ define([], function () {
|
|||||||
composition = (model.relationships || {}).modes || [];
|
composition = (model.relationships || {}).modes || [];
|
||||||
return (composition[this.index]) || "";
|
return (composition[this.index]) || "";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
return ModeColumn;
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user