mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-21 16:22:08 +08:00
Merge pull request #167 from a110605/hide_external_link
Hide non-longhorn volume external link
This commit is contained in:
1 file changed
+4
@@ -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