Web:Client:Components:Article:Body Fixed closing article on mobile phone
This commit is contained in:
parent
5fd084a1b6
commit
e79a16cc8a
@ -105,9 +105,6 @@ const ArticleBodyContent = (props) => {
|
||||
);
|
||||
})
|
||||
.finally(() => {
|
||||
if (isMobileOnly || isMobile()) {
|
||||
toggleArticleOpen();
|
||||
}
|
||||
if (filesSection) {
|
||||
setIsLoading(false);
|
||||
} else {
|
||||
@ -139,9 +136,6 @@ const ArticleBodyContent = (props) => {
|
||||
})
|
||||
.catch((err) => toastr.error(err))
|
||||
.finally(() => {
|
||||
if (isMobileOnly || isMobile()) {
|
||||
toggleArticleOpen();
|
||||
}
|
||||
if (filesSection) {
|
||||
setIsLoading(false);
|
||||
} else {
|
||||
@ -149,6 +143,10 @@ const ArticleBodyContent = (props) => {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (isMobileOnly || isMobile()) {
|
||||
toggleArticleOpen();
|
||||
}
|
||||
},
|
||||
[categoryType, roomsFolderId, archiveFolderId]
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user