mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-03-21 20:51:45 +00:00
* fix: missing Download Logs button in Rancher integration mode * refactor: add comment --------- (cherry picked from commit de103ff91e71be1670f80bf24f9873bd7330c040) Signed-off-by: Andy Lee <andy.lee@suse.com> Co-authored-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
1cc6f34d84
commit
a0a797d5b9
@ -98,6 +98,11 @@ export default {
|
|||||||
if (getters['schemaFor'](HCI.UPGRADE)) {
|
if (getters['schemaFor'](HCI.UPGRADE)) {
|
||||||
hash.upgrades = dispatch('findAll', { type: HCI.UPGRADE });
|
hash.upgrades = dispatch('findAll', { type: HCI.UPGRADE });
|
||||||
}
|
}
|
||||||
|
// Pre-fetch all HCI.UPGRADE_LOG data within loadCluster to ensure HarvesterUpgradeHeader has the necessary data. This is required because the header is dynamically loaded before the user enters the cluster in Rancher integration mode.
|
||||||
|
// See more details in https://github.com/harvester/harvester-ui-extension/pull/715
|
||||||
|
if (getters['schemaFor'](HCI.UPGRADE_LOG)) {
|
||||||
|
hash.upgradeLogs = dispatch('findAll', { type: HCI.UPGRADE_LOG });
|
||||||
|
}
|
||||||
|
|
||||||
const res: any = await allHash(hash);
|
const res: any = await allHash(hash);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user