mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
[Timeline] Disambiguate datetime control
Timeline uses a custom date-time control on creation; use a distinct key for this to avoid a naming collision with platform's datetime. Addresses abnormal behavior identified in nasa/openmctweb#208
This commit is contained in:
parent
fd3059b380
commit
0635e7c38e
@ -57,7 +57,7 @@
|
|||||||
"properties": [
|
"properties": [
|
||||||
{
|
{
|
||||||
"name": "Start date/time",
|
"name": "Start date/time",
|
||||||
"control": "datetime",
|
"control": "timeline-datetime",
|
||||||
"required": true,
|
"required": true,
|
||||||
"property": [ "start" ],
|
"property": [ "start" ],
|
||||||
"options": [ "SET" ]
|
"options": [ "SET" ]
|
||||||
@ -83,7 +83,7 @@
|
|||||||
"properties": [
|
"properties": [
|
||||||
{
|
{
|
||||||
"name": "Start date/time",
|
"name": "Start date/time",
|
||||||
"control": "datetime",
|
"control": "timeline-datetime",
|
||||||
"required": true,
|
"required": true,
|
||||||
"property": [ "start" ],
|
"property": [ "start" ],
|
||||||
"options": [ "SET" ]
|
"options": [ "SET" ]
|
||||||
@ -271,7 +271,7 @@
|
|||||||
],
|
],
|
||||||
"controls": [
|
"controls": [
|
||||||
{
|
{
|
||||||
"key": "datetime",
|
"key": "timeline-datetime",
|
||||||
"templateUrl": "templates/controls/datetime.html"
|
"templateUrl": "templates/controls/datetime.html"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user