Wip: bookmark statuses view and adder

This commit is contained in:
KMY 2023-08-26 13:25:57 +09:00
parent f6bdd9b6de
commit 87490a3220
30 changed files with 616 additions and 24 deletions

View file

@ -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));