Wip: bookmark statuses view and adder
This commit is contained in:
parent
f6bdd9b6de
commit
87490a3220
30 changed files with 616 additions and 24 deletions
|
@ -142,6 +142,15 @@ const mapDispatchToProps = (dispatch, { intl, contextType }) => ({
|
|||
}
|
||||
},
|
||||
|
||||
onBookmarkCategoryAdder (status) {
|
||||
dispatch(openModal({
|
||||
modalType: 'BOOKMARK_CATEGORY_ADDER',
|
||||
modalProps: {
|
||||
statusId: status.get('id'),
|
||||
},
|
||||
}));
|
||||
},
|
||||
|
||||
onPin (status) {
|
||||
if (status.get('pinned')) {
|
||||
dispatch(unpin(status));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue