Fix: #655 センシティブフラグ付きの画像を編集するとフラグが外れる (#662)

This commit is contained in:
KMY(雪あすか) 2024-03-21 15:15:14 +09:00 committed by KMY
parent a670b10552
commit 08d6cf2a38

View file

@ -629,7 +629,7 @@ export default function compose(state = initialState, action) {
map.set('spoiler', true);
map.set('spoiler_text', action.spoiler_text);
} else {
map.set('spoiler', false);
map.set('spoiler', action.status.get('sensitive'));
map.set('spoiler_text', '');
}