diff --git a/ui/src/accounts/LinkedChannels.vue b/ui/src/accounts/LinkedChannels.vue index ff57dccb3..a3a6513a5 100644 --- a/ui/src/accounts/LinkedChannels.vue +++ b/ui/src/accounts/LinkedChannels.vue @@ -76,6 +76,12 @@ const begin = (connector: string) => poll(); }); +/** Hides a code the operator no longer wants to use. */ +function cancel(connector: string): void { + delete pending.value[connector]; + if (!waiting.value) stop(); +} + const unlink = (link: ChannelLink) => run(async () => { await api.unlinkChannel(link.connector, link.subject); @@ -99,7 +105,10 @@ onMounted(load);
- +

Scan the code or open the link, then press Start.