From c3be92f1e8d380269fd4870ce5411d55a91aac64 Mon Sep 17 00:00:00 2001 From: xithical <86810816+xithical@users.noreply.github.com> Date: Mon, 9 Aug 2021 21:11:15 -0500 Subject: [PATCH] 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 --- app/classes/web/server_handler.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/classes/web/server_handler.py b/app/classes/web/server_handler.py index da774d15..bbdbbdae 100644 --- a/app/classes/web/server_handler.py +++ b/app/classes/web/server_handler.py @@ -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, - ) \ No newline at end of file + )