Skip to content

Commit

Permalink
投稿されましたを無効化
Browse files Browse the repository at this point in the history
  • Loading branch information
maa123 committed Nov 2, 2024
1 parent 74c4ac9 commit bb91a76
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions app/javascript/mastodon/actions/compose.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,13 @@ export function submitCompose(routerHistory) {
insertIfOnline(`account:${response.data.account.id}`);
}

dispatch(showAlert({
message: statusId === null ? messages.published : messages.saved,
action: messages.open,
dismissAfter: 10000,
onClick: () => routerHistory.push(`/@${response.data.account.username}/${response.data.id}`),
}));
// Disable
// dispatch(showAlert({
// message: statusId === null ? messages.published : messages.saved,
// action: messages.open,
// dismissAfter: 10000,
// onClick: () => routerHistory.push(`/@${response.data.account.username}/${response.data.id}`),
// }));
}).catch(function (error) {
dispatch(submitComposeFail(error));
});
Expand Down

0 comments on commit bb91a76

Please sign in to comment.