]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: Code refactor rgw migrate component for using correctly the MIGRATE...
authorAfreen <afreen23.git@gmail.com>
Thu, 25 Jan 2024 11:21:06 +0000 (16:51 +0530)
committerAfreen <afreen23.git@gmail.com>
Thu, 25 Jan 2024 11:50:35 +0000 (17:20 +0530)
commit946a26c41e9f3a4f6d62fa3d1286c72985774c04
tree30b200f600aefb2606547b5a50efe1717f798849
parenta70dc48d48c8970418d18532fa8aac4054ebc943
mgr/dashboard:  Code refactor rgw migrate component for using correctly the MIGRATE action verb

fixes https://tracker.ceph.com/issues/64152

this.MIGRATE = $localize`Migrate to Multi-Site`;

Just like other action verbs we should set this.Migrate = "MIGRATE" only.
This will require rephrasing in the following places as well:
1. https://github.com/ceph/ceph/blob/d3256c484136a1b32b79a904861f681a9248ba3c/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-details/rgw-multisite-details.component.ts#L223-L228

2. https://github.com/ceph/ceph/blob/d3256c484136a1b32b79a904861f681a9248ba3c/src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.ts#L180-L18

Signed-off-by: Afreen <afreen23.git@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-multisite-migrate/rgw-multisite-migrate.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts