This commit is contained in:
parent
08d6cf2a38
commit
f096449e7f
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ export function uploadCompose(files) {
|
|||
if (status === 200) {
|
||||
dispatch(uploadComposeSuccess(data, file));
|
||||
|
||||
if (defaultSensitive && !spoiler) {
|
||||
if (defaultSensitive && !spoiler && (media.size + i) === 0) {
|
||||
dispatch(changeComposeSpoilerness());
|
||||
}
|
||||
} else if (status === 202) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue