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:
parent
025a3f7390
commit
b5a6bcc143
|
@ -46,6 +46,8 @@ class AutomationObjectActionBar extends ActionBar
|
||||||
$params,
|
$params,
|
||||||
['class' => 'icon-paste']
|
['class' => 'icon-paste']
|
||||||
),
|
),
|
||||||
|
/*
|
||||||
|
// TODO: enable once handled in the controller
|
||||||
'export' => Link::create(
|
'export' => Link::create(
|
||||||
$this->translate('Download JSON'),
|
$this->translate('Download JSON'),
|
||||||
$this->request->getUrl()->with('format', 'json'),
|
$this->request->getUrl()->with('format', 'json'),
|
||||||
|
@ -54,6 +56,7 @@ class AutomationObjectActionBar extends ActionBar
|
||||||
'data-base-target' => '_blank',
|
'data-base-target' => '_blank',
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
|
|
||||||
];
|
];
|
||||||
unset($links[$action]);
|
unset($links[$action]);
|
||||||
|
|
Loading…
Reference in New Issue