Web: Files: fixed MainButton options
This commit is contained in:
parent
03c8921293
commit
00b2c032e4
@ -169,15 +169,18 @@ const ArticleMainButtonContent = (props) => {
|
||||
disabled: isPrivacy,
|
||||
key: "form-file",
|
||||
},
|
||||
hasGalleryFiles && {
|
||||
];
|
||||
|
||||
if ((isMobile || isTabletUtils()) && hasGalleryFiles) {
|
||||
formActions.push({
|
||||
className: "main-button_drop-down_sub",
|
||||
icon: "images/form.react.svg",
|
||||
label: t("Common:OFORMsGallery"),
|
||||
onClick: onShowGallery,
|
||||
disabled: isPrivacy,
|
||||
key: "form-gallery",
|
||||
},
|
||||
];
|
||||
});
|
||||
}
|
||||
|
||||
const actions = [
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user