feat: udpate manage security group

When managing security groups on vm, it is prohibited to select port_security_enabled ports.

Change-Id: Ib64ddce2f5f4a34f245d552073ab63429665cefd
This commit is contained in:
zhangjingwei 2024-04-18 14:23:45 +08:00
parent 35f57c4c25
commit 7b7f594daf

View File

@ -136,6 +136,7 @@ export class ManageSecurityGroup extends ModalAction {
isLoading: this.portStore.list.isLoading,
isMulti: false,
onChange: this.onPortChange,
disabledFunc: (record) => !record.port_security_enabled,
filterParams: [
{
label: t('Owned Network'),