fix(xo-web/xoa/update): channels
is an object not an array
This commit is contained in:
parent
ba140c60e3
commit
7de7cdba60
@ -199,7 +199,7 @@ const Updates = decorate([
|
|||||||
backupNgJobs !== undefined &&
|
backupNgJobs !== undefined &&
|
||||||
some(jobs.concat(backupNgJobs), job => job.runId !== undefined),
|
some(jobs.concat(backupNgJobs), job => job.runId !== undefined),
|
||||||
channelsFormId: generateId,
|
channelsFormId: generateId,
|
||||||
channels: COMMUNITY ? () => [] : () => xoaUpdater.getReleaseChannels(),
|
channels: COMMUNITY ? () => ({}) : () => xoaUpdater.getReleaseChannels(),
|
||||||
channelsOptions: ({ channels }) =>
|
channelsOptions: ({ channels }) =>
|
||||||
channels === undefined
|
channels === undefined
|
||||||
? undefined
|
? undefined
|
||||||
|
Loading…
Reference in New Issue
Block a user