fix: hide network qos menu when the service is disabled

Hide network qos menu when endpoints not include neutron_qos by profile api

Change-Id: I27f03936609f3fd4067fe80b74830fb0315f0e1f
This commit is contained in:
Jingwei.Zhang 2022-07-18 09:03:11 +08:00
parent 2c0eb3858e
commit f7fd48445f
2 changed files with 2 additions and 0 deletions

View File

@ -313,6 +313,7 @@ const renderMenu = (t) => {
path: '/network/qos-policy-admin',
name: t('QoS Policy'),
key: 'networkQosAdmin',
endpoints: 'neutron_qos',
level: 1,
children: [
{

View File

@ -280,6 +280,7 @@ const renderMenu = (t) => {
path: '/network/qos-policy',
name: t('QoS Policy'),
key: 'networkQos',
endpoints: 'neutron_qos',
level: 1,
children: [
{