Fix client error on selecting server with no channels
This commit is contained in:
parent
90df265114
commit
51c9d8a7ae
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -2217,7 +2217,7 @@ checksum = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
|
||||
|
||||
[[package]]
|
||||
name = "reminder-rs"
|
||||
version = "1.6.25"
|
||||
version = "1.6.26"
|
||||
dependencies = [
|
||||
"base64 0.21.2",
|
||||
"chrono",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "reminder-rs"
|
||||
version = "1.6.25"
|
||||
version = "1.6.26"
|
||||
authors = ["Jude Southworth <judesouthworth@pm.me>"]
|
||||
edition = "2021"
|
||||
license = "AGPL-3.0 only"
|
||||
|
@ -62,7 +62,7 @@ function update_select(sel) {
|
||||
channelDisplay.textContent = `#${sel.selectedOptions[0].textContent}`;
|
||||
}
|
||||
|
||||
if (sel.selectedOptions[0] === null) {
|
||||
if (sel.selectedOptions[0] === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user