mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where comments on domain constraints were not visible when selecting a domain node. Fixes #7403
This commit is contained in:
@@ -85,8 +85,9 @@ class SchemaDiffObjectCompare:
|
||||
target = self.fetch_objects_to_compare(**target_params)
|
||||
|
||||
# If both the dict have no items then return None.
|
||||
if not (source or target) or (
|
||||
len(source) <= 0 and len(target) <= 0):
|
||||
if not (source or target) or not \
|
||||
(isinstance(source, dict) and isinstance(target, dict)) or \
|
||||
(len(source) <= 0 and len(target) <= 0):
|
||||
return None
|
||||
|
||||
return compare_dictionaries(view_object=self,
|
||||
|
Reference in New Issue
Block a user