Merge pull request #167 from a110605/hide_external_link

Hide non-longhorn volume external link
This commit is contained in:
Andy Lee 2025-02-26 17:00:01 +08:00 committed by GitHub
commit fc606dc4d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
} }