Skip to content

Commit 6d911cd

Browse files
yoshiemuranakarfrandse
authored andcommitted
Remove Virtual Media from IBM build
Removes Virtual Media from app navigation, router definition, and unregisters the store module. Signed-off-by: Yoshie Muranaka <[email protected]> Change-Id: I0e3ab2a6cb28b9923efbeb6b2c212b0a09d263a9
1 parent 01e749d commit 6d911cd

File tree

3 files changed

+2
-14
lines changed

3 files changed

+2
-14
lines changed

src/env/components/AppNavigation/ibm.js

-5
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ const AppNavigationMixin = {
7474
id: 'server-power-operations',
7575
label: this.$t('appNavigation.serverPowerOperations'),
7676
route: '/control/server-power-operations'
77-
},
78-
{
79-
id: 'virtual-media',
80-
label: this.$t('appNavigation.virtualMedia'),
81-
route: '/control/virtual-media'
8277
}
8378
]
8479
},

src/env/router/ibm.js

-9
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import SerialOverLanConsole from '@/views/Control/SerialOverLan/SerialOverLanCon
2020
import ServerLed from '@/views/Control/ServerLed';
2121
import ServerPowerOperations from '@/views/Control/ServerPowerOperations';
2222
import SslCertificates from '@/views/AccessControl/SslCertificates';
23-
import VirtualMedia from '@/views/Control/VirtualMedia';
2423
import i18n from '@/i18n';
2524

2625
// Custom components
@@ -202,14 +201,6 @@ const routes = [
202201
title: i18n.t('appPageTitle.serverPowerOperations')
203202
}
204203
},
205-
{
206-
path: '/control/virtual-media',
207-
name: 'virtual-media',
208-
component: VirtualMedia,
209-
meta: {
210-
title: i18n.t('appPageTitle.virtualMedia')
211-
}
212-
},
213204
{
214205
path: '*',
215206
name: 'page-not-found',

src/env/store/ibm.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import store from '@/store';
22
import FirmwareSingleImageStore from './FirmwareSingleImage/FirmwareSingleImageStore';
33

4+
store.unregisterModule('virtualMedia');
5+
46
store.unregisterModule('firmware');
57
store.registerModule('firmwareSingleImage', FirmwareSingleImageStore);
68

0 commit comments

Comments
 (0)