mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
Merge pull request #83 from houhoucoop/issue-7081
fix: cluster member role user should not be able to delete node on Harvester Hosts page
This commit is contained in:
commit
69e639ff96
@ -470,7 +470,7 @@ export default class HciNode extends HarvesterResource {
|
||||
get canDelete() {
|
||||
const nodes = this.$rootGetters['harvester/all'](NODE) || [];
|
||||
|
||||
return nodes.length > 1;
|
||||
return nodes.length > 1 && super.canDelete;
|
||||
}
|
||||
|
||||
get vlanStatuses() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user