mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(edge/templates): fix issues [EE-6328] (#10656)
This commit is contained in:
parent
140ac5d17c
commit
76bcdfa2b8
12 changed files with 181 additions and 91 deletions
|
@ -40,6 +40,12 @@ export function PrivateRegistryFieldset({
|
|||
const tooltipMessage =
|
||||
'This allows you to provide credentials when using a private registry that requires authentication';
|
||||
|
||||
useEffect(() => {
|
||||
if (isActive) {
|
||||
setChecked(isActive);
|
||||
}
|
||||
}, [isActive]);
|
||||
|
||||
useEffect(() => {
|
||||
if (checked) {
|
||||
onChange();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue