Fixed showing all servers on new server creation

Removed extraneous variable definition for defined_servers, which caused all servers to appear in menu when creating a new server regardless of role
This commit is contained in:
xithical 2021-08-09 21:11:15 -05:00 committed by Andrew
parent 677d5e33d9
commit c3be92f1e8

View File

@ -45,8 +45,6 @@ class ServerHandler(BaseHandler):
template = "public/404.html"
defined_servers = self.controller.list_defined_servers()
page_data = {
'version_data': helper.get_version_string(),
'user_data': exec_user_data,
@ -214,4 +212,4 @@ class ServerHandler(BaseHandler):
template,
data=page_data,
translate=self.translator.translate,
)
)