Fix: ブーストできない問題 (#803)
This commit is contained in:
parent
fef0b7e28b
commit
a40d491c66
1 changed files with 2 additions and 2 deletions
|
@ -79,11 +79,11 @@ const mapDispatchToProps = (dispatch, { contextType }) => ({
|
||||||
},
|
},
|
||||||
|
|
||||||
onReblog (status, e) {
|
onReblog (status, e) {
|
||||||
dispatch(toggleReblog(status.get('id'), e.shiftKey));
|
dispatch(toggleReblog(status.get('id'), e?.shiftKey || false));
|
||||||
},
|
},
|
||||||
|
|
||||||
onReblogForceModal (status) {
|
onReblogForceModal (status) {
|
||||||
dispatch(openModal({ modalType: 'BOOST', modalProps: { status, onReblog: this.onModalReblog } }));
|
dispatch(openModal({ modalType: 'BOOST', modalProps: { status, onReblog: this.onReblog } }));
|
||||||
},
|
},
|
||||||
|
|
||||||
onFavourite (status) {
|
onFavourite (status) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue