mirror of
https://github.com/plankanban/planka.git
synced 2025-12-27 17:25:02 +03:00
Project managers, board members, auto-update after reconnection, refactoring
This commit is contained in:
@@ -7,11 +7,11 @@ import Projects from '../components/Projects';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { isAdmin } = currentUserSelector(state);
|
||||
const projects = projectsForCurrentUserSelector(state);
|
||||
const project = projectsForCurrentUserSelector(state);
|
||||
|
||||
return {
|
||||
items: projects,
|
||||
isEditable: isAdmin,
|
||||
items: project,
|
||||
canAdd: isAdmin,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user