Skip to content

Commit

Permalink
fixup! chore(xo-web/jobs): use set for user ids
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-f committed Sep 14, 2023
1 parent 704cf03 commit a870ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/xo-web/src/xo-app/jobs/overview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const ACTIONS = [
@addSubscriptions({
jobs: [cb => subscribeJobs(jobs => cb(keyBy(jobs, 'id'))), {}],
schedules: [subscribeSchedules, []],
userIds: [cb => subscribeUsers(user => cb(new Set(user.map(_ => _.id)))), new Set()],
userIds: [cb => subscribeUsers(users => cb(new Set(users.map(_ => _.id)))), new Set()],
})
export default class Overview extends Component {
static contextTypes = {
Expand Down

0 comments on commit a870ae8

Please sign in to comment.