mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-08-16 12:49:14 +00:00
feat(forklift): Fix the way it is registered
Signed-off-by: Marcelo Fukumoto <marcelo.fukumoto@suse.com>
This commit is contained in:
parent
a180372564
commit
9ddfaefc39
@ -1479,13 +1479,16 @@ export function init($plugin, store) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Register the dashboard entry directly — it's a virtual type with no schema,
|
||||||
|
// so it cannot go through registerAddonSideNav (which filters by schema).
|
||||||
|
basicType(['forklift-create'], 'vmMigration');
|
||||||
|
|
||||||
// Enable SideNav based on Forklift Addon Status
|
// Enable SideNav based on Forklift Addon Status
|
||||||
registerAddonSideNav(store, PRODUCT_NAME, {
|
registerAddonSideNav(store, PRODUCT_NAME, {
|
||||||
addonName: ADD_ONS.FORKLIFT_OPERATOR,
|
addonName: ADD_ONS.FORKLIFT_OPERATOR,
|
||||||
resourceType: HCI.ADD_ONS,
|
resourceType: HCI.ADD_ONS,
|
||||||
navGroup: 'vmMigration',
|
navGroup: 'vmMigration',
|
||||||
types: [
|
types: [
|
||||||
'forklift-create',
|
|
||||||
HCI.FORKLIFT_PROVIDER,
|
HCI.FORKLIFT_PROVIDER,
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user