mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
Merge pull request #167 from a110605/hide_external_link
Hide non-longhorn volume external link
This commit is contained in:
commit
fc606dc4d1
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user