1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-09 07:45:22 +02:00

fix(containers): align switches [EE-6314] (#10616)

This commit is contained in:
Chaim Lev-Ari 2023-11-15 09:34:08 +02:00 committed by GitHub
parent 51474262eb
commit a0f583a17d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -37,12 +37,13 @@ export function AccessControlForm({
<div className="form-group">
<div className="col-sm-12">
<SwitchField
dataCy="portainer-accessMgmtToggle"
checked={accessControlEnabled}
name={withNamespace('accessControlEnabled')}
label="Enable access control"
labelClass="col-sm-3 col-lg-2"
tooltip="When enabled, you can restrict the access and management of this resource."
onChange={handleToggleEnable}
dataCy="portainer-accessMgmtToggle"
/>
</div>
</div>