Closed popup after switching instance
This commit is contained in:
parent
a9ecaf4ac0
commit
101e2eb89e
@ -48,7 +48,10 @@
|
||||
/>
|
||||
<SwitchInstanceIcon
|
||||
class="interactive"
|
||||
on:click={async () => browser.tabs.update({ url: await servicesHelper.switchInstance(url, serviceKey) })}
|
||||
on:click={async () =>
|
||||
browser.tabs.update({ url: await servicesHelper.switchInstance(url, serviceKey) }, () => {
|
||||
window.close()
|
||||
})}
|
||||
/>
|
||||
</div>
|
||||
</Row>
|
||||
|
Loading…
x
Reference in New Issue
Block a user