fix(indexers): could not create (#1479)

* fix(indexers): could not create

* fix(indexers): remove log statement
This commit is contained in:
ze0s 2024-03-25 08:55:22 +01:00 committed by GitHub
parent 34561c1491
commit 9227bdb5dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -371,7 +371,7 @@ export function IndexerAddForm({ isOpen, toggle }: AddProps) {
const channels: IrcChannel[] = []; const channels: IrcChannel[] = [];
if (ind.irc?.channels.length) { if (ind.irc?.channels.length) {
let channelPass = ""; let channelPass = "";
if (formData.irc.channels?.password !== "") { if (formData.irc && formData.irc.channels && formData.irc?.channels?.password !== "") {
channelPass = formData.irc.channels.password; channelPass = formData.irc.channels.password;
} }