]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: [snap-visibility]Edit Client config option remains stuck in loading... 68537/head
authorDnyaneshwari Talwekar <dtalwekar@li-4c4c4544-0038-3510-8056-b5c04f473234.ibm.com>
Wed, 22 Apr 2026 05:43:44 +0000 (11:13 +0530)
committerDnyaneshwari Talwekar <dtalwekar@li-4c4c4544-0038-3510-8056-b5c04f473234.ibm.com>
Wed, 22 Apr 2026 05:43:44 +0000 (11:13 +0530)
Fixes: https://tracker.ceph.com/issues/76200
Signed-off-by: Dnyaneshwari Talwekar <dtalweka@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.ts

index 28b6d00589bd2f7850a1440198ee7b832c4fb197..f4a0557795a340d18ab06247edb37a1971f24cdb 100644 (file)
@@ -111,8 +111,9 @@ export class ConfigurationFormComponent extends CdForm implements OnInit {
 
     if (this.response.value) {
       this.response.value.forEach((value) => {
-        // Check value type. If it's a boolean value we need to convert it because otherwise we
-        // would use the string representation. That would cause issues for e.g. checkboxes.
+        if (!this.availSections.includes(value.section)) {
+          return;
+        }
         let sectionValue = null;
         if (value.value === 'true') {
           sectionValue = true;