mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-22 00:27:38 +08:00
hide non longhorn volume external link
Signed-off-by: andy.lee <andy.lee@suse.com>
(cherry picked from commit 046947de32)
This commit is contained in:
1 parent
2ef8e2e0aa
commit
ed7d7ffd2e
1 file changed
+4
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user