mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
[Timeline] Add default values to model
Add default values to model, such that editing which occurs before user supplies these properties does not cause errors to occur. Directly addresses #717, indirectly addresses remaining errant behavior associated with #790.
This commit is contained in:
@ -172,7 +172,10 @@ define([
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"model": {
|
"model": {
|
||||||
"composition": []
|
"composition": [],
|
||||||
|
"start": {
|
||||||
|
"timestamp": 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -211,6 +214,12 @@ define([
|
|||||||
"composition": [],
|
"composition": [],
|
||||||
"relationships": {
|
"relationships": {
|
||||||
"modes": []
|
"modes": []
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"timestamp": 0
|
||||||
|
},
|
||||||
|
"duration": {
|
||||||
|
"timestamp": 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user