mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-18 05:31:55 +01:00
Fix bug: disabled radio is still clickable
Signed-off-by: sshijun <sshijun@vmware.com>
This commit is contained in:
parent
bc5ec647b0
commit
2b295b2d6e
@ -78,13 +78,13 @@
|
||||
</div>
|
||||
<clr-radio-container clrInline>
|
||||
<clr-radio-wrapper>
|
||||
<input id="use-system" [disabled]="!hasChangeConfigRole" type="radio" clrRadio
|
||||
<input id="use-system" [attr.disabled]="!hasChangeConfigRole?'disabled':null" type="radio" clrRadio
|
||||
name="systemWhitelistOrProjectWhitelist" required value="true"
|
||||
[(ngModel)]="systemWhitelistOrProjectWhitelist" />
|
||||
<label>{{'CVE_WHITELIST.SYS_WHITELIST'|translate}}</label>
|
||||
</clr-radio-wrapper>
|
||||
<clr-radio-wrapper>
|
||||
<input id="use-project" [disabled]="!hasChangeConfigRole" type="radio" clrRadio
|
||||
<input id="use-project" [attr.disabled]="!hasChangeConfigRole?'disabled':null" type="radio" clrRadio
|
||||
name="systemWhitelistOrProjectWhitelist" required value="false"
|
||||
[(ngModel)]="systemWhitelistOrProjectWhitelist" />
|
||||
<label>{{'CVE_WHITELIST.PRO_WHITELIST'|translate}}</label>
|
||||
|
@ -95,4 +95,4 @@
|
||||
flex-direction: column-reverse;
|
||||
font-size: 13px;
|
||||
color: #000;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user