Skip to content

Commit

Permalink
Hide client stability when extension is Off
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyjanenorton committed Dec 23, 2024
1 parent 9120d83 commit 0228c21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/vpncard.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ export class VPNCard extends LitElement {
</svg>
`;

switch (stability) {
if (!this.enabled) {
return;
}
switch (stability) {
case VPNState.NoSignal:
return html`<p class="subline">${errorSvg} No Signal</p>`;
case VPNState.Unstable:
Expand Down

0 comments on commit 0228c21

Please sign in to comment.