|
|
@ -205,18 +205,7 @@ const actionMap = { |
|
|
|
|
|
|
|
const getActions = () => { |
|
|
|
if (Tools.isNill(props.owner)) { |
|
|
|
return [ |
|
|
|
'query', |
|
|
|
'separator', |
|
|
|
'refresh', |
|
|
|
actionMap['execute'], |
|
|
|
actionMap['executeAll'], |
|
|
|
[actionMap['batchTest'], actionMap['upload']], |
|
|
|
'separator', |
|
|
|
'view', |
|
|
|
'separator', |
|
|
|
'export', |
|
|
|
]; |
|
|
|
return ['query', 'separator', 'refresh', actionMap['execute'], actionMap['executeAll'], [actionMap['batchTest'], actionMap['upload']], 'separator', 'view']; |
|
|
|
} else { |
|
|
|
return [ |
|
|
|
'refresh', |
|
|
@ -230,8 +219,6 @@ const getActions = () => { |
|
|
|
[actionMap['batchTest'], actionMap['download'], actionMap['upload']], |
|
|
|
'separator', |
|
|
|
'view', |
|
|
|
'separator', |
|
|
|
'export', |
|
|
|
]; |
|
|
|
} |
|
|
|
}; |
|
|
|