mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Ensure that the user should be able to edit the publication in the subscription dialog. Fixes #6835
This commit is contained in:
parent
1ec1db1ecb
commit
69109a19db
@ -410,10 +410,6 @@ class SubscriptionView(PGChildNodeView, SchemaDiffObjectCompare):
|
||||
)
|
||||
|
||||
try:
|
||||
if 'pub' in data:
|
||||
data['pub'] = json.loads(
|
||||
data['pub'], encoding='utf-8'
|
||||
)
|
||||
sql, name = self.get_sql(data, subid)
|
||||
# Most probably this is due to error
|
||||
if not isinstance(sql, str):
|
||||
|
Loading…
Reference in New Issue
Block a user