Skip to content

Commit

Permalink
Fix channel selection using SSM (bsc#1226917)
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Arlt <parlt@suse.com>
  • Loading branch information
parlt91 committed Jul 8, 2024
1 parent 489c01e commit 969b45b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions web/html/src/manager/systems/ssm/ssm-subscribe-channels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,7 @@ class ChildChannelPage extends React.Component<ChildChannelProps, ChildChannelSt
} else if (action === "NO_CHANGE" && childReqChannels && childReqByChannels) {
// in this case we can't make any assumptions about the actual assignment of the channel,
// let's reset both the forward and backward deps

// TODO: This is a bug and is probably not what was intended. Did you mean `...childReqByChannels` instead?
// @ts-expect-error: No overload matches this call.
dependencies = Array.from(childReqChannels).concat(childReqByChannels);
dependencies = Array.from(childReqChannels).concat(...childReqByChannels);
}

// change the channel AND its dependencies
Expand Down
1 change: 1 addition & 0 deletions web/spacewalk-web.changes.parlt.fix-ssm-channel-change
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Fix channel selection using SSM (bsc#1226917)

0 comments on commit 969b45b

Please sign in to comment.