]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Add Sync from/sync from all options on master zone edit 69167/head
authorAashish Sharma <aashish@li-e9bf2ecc-2ad7-11b2-a85c-baf05c5182ab.ibm.com>
Fri, 29 May 2026 11:01:50 +0000 (16:31 +0530)
committerAashish Sharma <aashish@li-e9bf2ecc-2ad7-11b2-a85c-baf05c5182ab.ibm.com>
Fri, 29 May 2026 11:01:50 +0000 (16:31 +0530)
In the dashboard, master zone's edit functionality include the expected "Sync from Zones" and "Sync from All Zones" options

Fixes: https://tracker.ceph.com/issues/76989
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-zone-form/rgw-multisite-zone-form.component.html

index b7d3f0b67e973e9011758454cebaaa9787549c6d..5b8b68b657d92d2de15b482caffc161fd47b9f02 100644 (file)
           </cd-help-text>
         </cds-checkbox>
       </div>
-      <div *ngIf="multisiteZoneForm.get('master_zone')?.value === false"
-           class="form-item">
+      <div class="form-item">
         <cds-checkbox
           id="sync_from_all"
           formControlName="sync_from_all"
           </div>
         </cds-checkbox>
       </div>
-      <div *ngIf="multisiteZoneForm.get('sync_from_all')?.value === false || multisiteZoneForm.get('master_zone')?.value === false"
+      <div *ngIf="multisiteZoneForm.get('sync_from_all')?.value === false"
            class="form-item">
         <cds-combo-box type="multi"
                        selectionFeedback="top-after-reopen"