mirror of
https://github.com/plankanban/planka.git
synced 2025-08-03 04:25:27 +02:00
Mute socket messages in production, fix max-len, update dependencies
This commit is contained in:
parent
7bd12cd8b8
commit
6eb431f721
26 changed files with 1157 additions and 1192 deletions
|
@ -1,18 +1,15 @@
|
|||
import { createSelector } from 'redux-orm';
|
||||
|
||||
import orm from '../orm';
|
||||
import { dbSelector } from './common';
|
||||
import { currentUserIdSelector } from './current';
|
||||
|
||||
export const allUsersSelector = createSelector(
|
||||
orm,
|
||||
dbSelector,
|
||||
({ User }) => User.getOrderedUndeletedQuerySet().toRefArray(),
|
||||
);
|
||||
|
||||
export const allUsersExceptCurrentSelector = createSelector(
|
||||
orm,
|
||||
dbSelector,
|
||||
(state) => currentUserIdSelector(state),
|
||||
({ User }, currentUserId) => User.getOrderedUndeletedQuerySet()
|
||||
.exclude({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue