hunk.code_window:             <EnvironmentSidebar />
               {isAdmin && EnableEdgeComputeFeatures && <EdgeComputeSidebar />}
               {(isAdmin || isTeamLeader) && <SettingsSidebar isAdmin={isAdmin} />}
             </ul>
           </div>
  
hunk.labels: keep keep keep keep replace keep keep keep
hunk.after_edit:             {(isAdmin || isTeamLeader) && (
                 <SettingsSidebar isAdmin={isAdmin} isTeamLeader={isTeamLeader} />
               )}
  
hunk.file_path: app/react/sidebar/Sidebar.tsx
hunk.type: replace
file: class controller {
    $postLink() {
      this.registryFormProGet.registry_name.$validators.used = (modelValue) => !this.nameIsUsed(modelValue);
    }
  }
  
  angular.module('portainer.app').component('registryFormProget', {
    templateUrl: './registry-form-proget.html',
    bindings: {
      model: '=',
      formAction: '<',
      formActionLabel: '@',
      actionInProgress: '<',
      nameIsUsed: '<',
    },
    controller,
  });
  