mirror of
https://github.com/plankanban/planka.git
synced 2025-12-24 09:15:01 +03:00
Make columns itself scrollable, fix action creation when moving card, little refactoring
This commit is contained in:
16
client/src/containers/StaticWrapperContainer.js
Normal file
16
client/src/containers/StaticWrapperContainer.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { connect } from 'react-redux';
|
||||
|
||||
import { pathSelector } from '../selectors';
|
||||
import StaticWrapper from '../components/StaticWrapper';
|
||||
|
||||
const mapStateToProps = (state) => {
|
||||
const { cardId, boardId, projectId } = pathSelector(state);
|
||||
|
||||
return {
|
||||
cardId,
|
||||
boardId,
|
||||
projectId,
|
||||
};
|
||||
};
|
||||
|
||||
export default connect(mapStateToProps)(StaticWrapper);
|
||||
Reference in New Issue
Block a user