AutomationActions: disable 'Download JSON'

It's not implemented in the related controller, and too late for 1.5.0

fixes #1572
This commit is contained in:
Thomas Gelf 2018-08-10 14:28:02 +02:00
parent 025a3f7390
commit b5a6bcc143
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,8 @@ class AutomationObjectActionBar extends ActionBar
$params,
['class' => 'icon-paste']
),
/*
// TODO: enable once handled in the controller
'export' => Link::create(
$this->translate('Download JSON'),
$this->request->getUrl()->with('format', 'json'),
@ -54,6 +56,7 @@ class AutomationObjectActionBar extends ActionBar
'data-base-target' => '_blank',
]
)
*/
];
unset($links[$action]);