mirror of
https://github.com/bytedream/stream-bypass.git
synced 2026-08-04 21:10:40 +02:00
use host id instead of host in settings
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<Toggle
|
||||
bind:checked={
|
||||
() => !disabledHostIds.includes(host.id),
|
||||
(v) => (v ? HostSettings.removeDisabledHost(host) : HostSettings.addDisabledHost(host))
|
||||
(v) => (v ? HostSettings.removeDisabledHost(host.id) : HostSettings.addDisabledHost(host.id))
|
||||
}
|
||||
size="sm"
|
||||
></Toggle>
|
||||
|
||||
Reference in New Issue
Block a user