]> git-server-git.apps.pok.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)
committerAfreen Rahman <afrahman@redhat.com>
Thu, 25 Sep 2025 05:12:40 +0000 (05:12 +0000)
commit1eb22b659ee4c8d19cb414e384fbff4faa1e91c5
treeebd04855288733b8c0f517fc5bcc2289947e9fb8
parent442fec62f750800405bd0236039e634e6a80babc
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

Resolves:rhbz#2361570
Resolves:rhbz#2366226

Fixes: https://tracker.ceph.com/issues/73096
Signed-off-by: Pedro Gonzalez Gomez <pegonzal@ibm.com>
(cherry picked from commit 9ce943e21558d17b3a214840b39bb57eab0cbd85)
(cherry picked from commit 766dbab7320949f7917ef60e26b1e5029ed59d9f)
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