From a7bec09ffa7da423688e127d542e658f58d48e65 Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Thu, 25 Mar 2021 11:40:21 -0400 Subject: [PATCH] Minor cleanup --- .../web_app/ui_components/outline-server-list.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server_manager/web_app/ui_components/outline-server-list.ts b/src/server_manager/web_app/ui_components/outline-server-list.ts index 785e8fb9..ac50ecf9 100644 --- a/src/server_manager/web_app/ui_components/outline-server-list.ts +++ b/src/server_manager/web_app/ui_components/outline-server-list.ts @@ -50,7 +50,8 @@ export class OutlineServerList extends LitElement { } // We need to wait updates to be completed or the view may not yet be there. await this.updateComplete; - return this.shadowRoot.querySelector(`#${this.makeViewId(serverId)}`); + const selector = `#${this.makeViewId(serverId)}`; + return this.shadowRoot.querySelector(selector); } // Wrapper to encode a string in base64. This is necessary to set the server view IDs to