Channel update fix (#1057)

Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
Denis Bykhov 2022-02-25 15:05:25 +06:00 committed by GitHub
parent af15115c8c
commit 6e934b83aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@
for (const provider of providers) { for (const provider of providers) {
const i = findValue(provider._id) const i = findValue(provider._id)
if (i !== -1) { if (i !== -1) {
newValues.push(values[i]) newValues.push({ ...values[i] })
} else { } else {
newValues.push({ provider: provider._id, value: '' }) newValues.push({ provider: provider._id, value: '' })
} }