Add: #213 右サイドメニューからお気に入りを削除するオプション (#262)

This commit is contained in:
KMY(雪あすか) 2023-11-09 11:53:57 +09:00 committed by GitHub
parent 85a6631709
commit e3c71cb3e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 61 additions and 36 deletions

View file

@ -3,7 +3,7 @@ import { createSelector } from 'reselect';
import { toServerSideType } from 'mastodon/utils/filters';
import { me, hideBlockingQuote } from '../initial_state';
import { me, isHideItem } from '../initial_state';
export { makeGetAccount } from "./accounts";
@ -40,7 +40,7 @@ export const makeGetStatus = () => {
statusReblog = null;
}
if (hideBlockingQuote && (statusReblog || statusBase).getIn(['quote', 'quote_muted'])) {
if (isHideItem('blocking_quote') && (statusReblog || statusBase).getIn(['quote', 'quote_muted'])) {
return null;
}