mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
perf: improve vm list page performance (#835)
* fix: remove unneeded persistentvolumeclaim type label translation key Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: improve lockIconTooltipMessage call twice Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: avoid watch allVMs Signed-off-by: Andy Lee <andy.lee@suse.com> * perf: improve the some functions with pre-created map Signed-off-by: Andy Lee <andy.lee@suse.com> * perf: improve the vm list page Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: AI comment Signed-off-by: Andy Lee <andy.lee@suse.com> * refactor: based on feedback Signed-off-by: Andy Lee <andy.lee@suse.com> --------- Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -2165,11 +2165,13 @@ typeLabel:
|
||||
one { PCI Device }
|
||||
other { PCI Devices }
|
||||
}
|
||||
|
||||
persistentvolumeclaim: |-
|
||||
{count, plural,
|
||||
one { Volume }
|
||||
other { Volumes }
|
||||
}
|
||||
|
||||
network.harvesterhci.io.clusternetwork: |-
|
||||
{count, plural,
|
||||
one { Cluster Network }
|
||||
|
||||
Reference in New Issue
Block a user