mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-02 09:29:29 -05:00
Handler and Validator should not allow selecting the empty options. Fixes #6810
This commit is contained in:
+2
-2
@@ -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']),
|
||||
|
||||
Reference in New Issue
Block a user