Skip to content

Commit

Permalink
Demo: Query status on load
Browse files Browse the repository at this point in the history
  • Loading branch information
strseb committed Aug 30, 2024
1 parent 7c2c70f commit c0c723b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ui/browserAction/popupPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ export class BrowserActionPopup extends LitElement {

connectedCallback() {
super.connectedCallback();
requestIdleCallback(()=>{
vpnController.postToApp("status");
});
requestIdleCallback(()=>{
vpnController.postToApp("servers");
})
}

get currentSiteContext() {
Expand Down

0 comments on commit c0c723b

Please sign in to comment.