mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-10-22 04:21:00 +00:00
Minor cleanup
This commit is contained in:
parent
fa7acacc36
commit
a7bec09ffa
1 changed files with 2 additions and 1 deletions
|
|
@ -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<ServerView>(`#${this.makeViewId(serverId)}`);
|
||||
const selector = `#${this.makeViewId(serverId)}`;
|
||||
return this.shadowRoot.querySelector<ServerView>(selector);
|
||||
}
|
||||
|
||||
// Wrapper to encode a string in base64. This is necessary to set the server view IDs to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue