Web:Client:Components:Article:MainButton: Added an identifier for the context menu

This commit is contained in:
Akmal Isomadinov 2022-11-10 18:26:33 +05:00
parent 53816d945b
commit 5e6fa1fe5f

View File

@ -233,12 +233,14 @@ const ArticleMainButtonContent = (props) => {
const formActions = [
{
id: "main-button_template",
className: "main-button_drop-down",
icon: "images/form.react.svg",
label: t("Translations:NewForm"),
key: "new-form",
items: [
{
id: "main-button_template-empty",
className: "main-button_drop-down_sub",
icon: "images/form.blank.react.svg",
label: t("Translations:SubNewForm"),
@ -247,6 +249,7 @@ const ArticleMainButtonContent = (props) => {
key: "docxf",
},
{
id: "main-button_template-form-file",
className: "main-button_drop-down_sub",
icon: "images/form.file.react.svg",
label: t("Translations:SubNewFormFile"),
@ -255,6 +258,7 @@ const ArticleMainButtonContent = (props) => {
key: "form-file",
},
{
id: "main-button_template-form-gallery",
className: "main-button_drop-down_sub",
icon: "images/form.gallery.react.svg",
label: t("Common:OFORMsGallery"),