fix: Get dsyncData based on database (#14067)
* Set unique tenant * Rely on current DB for dsync data * Fix rendering dsync config * Remove console.log * Address feedback * Add relationship between dsync data and team group mapping * Fix `dsyncData` and `organizationSetting` relationship
This commit is contained in:
1 parent
a7405db0d4
commit
3aff79e7d1
5 files changed
+49
-13
No files matched your search
@@ -39,7 +39,7 @@ const ConfigureDirectorySync = ({ organizationId }: { organizationId: number | n
|
||||
return <SkeletonLoader />;
|
||||
}
|
||||
|
||||
const directory = data ? data[0] : null;
|
||||
const directory = data ?? null;
|
||||
|
||||
const onDeleteConfirmation = (e: Event | React.MouseEvent<HTMLElement, MouseEvent>) => {
|
||||
e.preventDefault();
|
||||
|
||||
Reference in new issue
Block a user