mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-01 03:36:04 +08:00
hide non longhorn volume external link
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
@@ -349,6 +349,10 @@ export default class HciPv extends HarvesterResource {
|
||||
const { params } = this.currentRoute();
|
||||
const volumeName = this.spec?.volumeName;
|
||||
|
||||
if (!this.isLonghorn) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!volumeName) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user