Handler and Validator should not allow selecting the empty options. Fixes #6810
parent
d616cb88aa
commit
2265ffc0a7
|
|
@ -862,7 +862,7 @@ class ForeignDataWrapperView(PGChildNodeView, SchemaDiffObjectCompare):
|
|||
sid: Server ID
|
||||
did: Database ID
|
||||
"""
|
||||
res = [{'label': '', 'value': ''}]
|
||||
res = []
|
||||
try:
|
||||
sql = render_template("/".join([self.template_path,
|
||||
'validators.sql']),
|
||||
|
|
@ -892,7 +892,7 @@ class ForeignDataWrapperView(PGChildNodeView, SchemaDiffObjectCompare):
|
|||
sid: Server ID
|
||||
did: Database ID
|
||||
"""
|
||||
res = [{'label': '', 'value': ''}]
|
||||
res = []
|
||||
try:
|
||||
sql = render_template("/".join([self.template_path,
|
||||
'handlers.sql']),
|
||||
|
|
|
|||
Loading…
Reference in New Issue