]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix SMB custom DNS button and linked_to_cluster col
authorPedro Gonzalez Gomez <pegonzal@ibm.com>
Tue, 26 Aug 2025 12:05:45 +0000 (14:05 +0200)
committerPedro Gonzalez Gomez <pegonzal@ibm.com>
Wed, 24 Sep 2025 15:34:30 +0000 (17:34 +0200)
commit766dbab7320949f7917ef60e26b1e5029ed59d9f
tree80f2386b3cd57c4df8c8e780d3018189b8923470
parentaa4b45d0ce2d2f8fb784f5dfe94bf2ac196eca30
mgr/dashboard: fix SMB custom DNS button and linked_to_cluster col

- The button 'add custom DNS' in smb cluster form should only appear for active directory where is relevant.

- The linked_to_cluster column data is missing from smb standalone

- Some refactoring to remove magic strings and use FormControl for publicAddrs field

Fixes: https://tracker.ceph.com/issues/73096
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
(cherry picked from commit 9ce943e21558d17b3a214840b39bb57eab0cbd85)
src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-cluster-form/smb-cluster-form.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb-usersgroups-list/smb-usersgroups-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/smb/smb.model.ts