mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-10 08:04:36 -06:00
Fix preferences handling for utilities.
This commit is contained in:
parent
137bae1b04
commit
33e75d24f8
@ -154,7 +154,7 @@ def preferences_s():
|
||||
if len(m['categories']):
|
||||
for c in m['categories']:
|
||||
for p in c['preferences']:
|
||||
p['module'] = m['label']
|
||||
p['module'] = m['name']
|
||||
res.append(p)
|
||||
|
||||
return ajax_response(
|
||||
|
@ -303,6 +303,7 @@ class Preferences(object):
|
||||
res = {
|
||||
'id': self.mid,
|
||||
'label': self.label or self.name,
|
||||
'name': self.name,
|
||||
'categories': []
|
||||
}
|
||||
for c in self.categories:
|
||||
|
Loading…
Reference in New Issue
Block a user