Skip to content

Commit f3bc78e

Browse files
author
Yauhen_Lyskavets
committed
MC-16455: Admin user with permission for 1 store can manage categories
- Static tests errors fix
1 parent 62c3d35 commit f3bc78e

File tree

1 file changed

+1
-6
lines changed
  • app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier

1 file changed

+1
-6
lines changed

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Categories.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ protected function customizeCategoriesField(array $meta)
268268
'disabled' => $fieldIsDisabled,
269269
'elementTmpl' => 'ui/grid/filters/elements/ui-select',
270270
'options' => $this->getCategoriesTree(),
271-
'disabled' => $fieldIsDisabled,
272271
'listens' => [
273272
'index=create_category:responseData' => 'setParsed',
274273
'newOption' => 'toggleOptionSelected'
@@ -322,11 +321,7 @@ protected function customizeCategoriesField(array $meta)
322321
]
323322
];
324323
}
325-
$meta = $this->arrayManager->merge(
326-
$containerPath,
327-
$meta,
328-
$value
329-
);
324+
$meta = $this->arrayManager->merge($containerPath, $meta, $value);
330325

331326
return $meta;
332327
}

0 commit comments

Comments
 (0)