mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-14 05:31:44 +00:00
hide non longhorn volume external link
Signed-off-by: andy.lee <andy.lee@suse.com> (cherry picked from commit 046947de32f16c5c95fad6731ad9d5bb53c45cf7)
This commit is contained in:
parent
2ef8e2e0aa
commit
ed7d7ffd2e
@ -349,6 +349,10 @@ export default class HciPv extends HarvesterResource {
|
|||||||
const { params } = this.currentRoute();
|
const { params } = this.currentRoute();
|
||||||
const volumeName = this.spec?.volumeName;
|
const volumeName = this.spec?.volumeName;
|
||||||
|
|
||||||
|
if (!this.isLonghorn) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (!volumeName) {
|
if (!volumeName) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user