remove restart network button for L2 network (#686)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Hoang Nguyen 2020-09-11 12:16:19 +02:00 committed by Rohit Yadav
parent 22eaec4692
commit bd28f8a848
1 changed files with 2 additions and 1 deletions

View File

@ -81,7 +81,8 @@ export default {
icon: 'sync',
label: 'label.restart.network',
dataView: true,
args: ['cleanup', 'makeredundant']
args: ['cleanup', 'makeredundant'],
show: (record) => record.type !== 'L2'
},
{
api: 'replaceNetworkACLList',