@omniumretail/component-library 1.1.49 → 1.1.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.1.49",
3
+ "version": "1.1.51",
4
4
  "private": false,
5
5
  "main": "dist/bundle.js",
6
6
  "typings": "./dist/types/index",
@@ -74,8 +74,8 @@ export const evaluationOptions: EvaluationOptions = {
74
74
  label: '5',
75
75
  },
76
76
  {
77
- value: 'na',
78
- label: translate('components.categoryResponse.notApplicable')
77
+ value: 'NA',
78
+ label: 'NA'
79
79
  }
80
80
  ]
81
81
  }
@@ -5,7 +5,8 @@ import { Menu as MenuAntd} from 'antd';
5
5
 
6
6
  export const Menu = (props: MenuProps) => {
7
7
  const {
8
- items
8
+ items,
9
+ mode
9
10
  } = props;
10
11
 
11
12
  const onClick: MenuProps['onClick'] = (e) => {
@@ -15,7 +16,7 @@ export const Menu = (props: MenuProps) => {
15
16
  return (
16
17
  <MenuAntd
17
18
  onClick={onClick}
18
- mode="inline"
19
+ mode={mode || "inline"}
19
20
  items={items}
20
21
  expandIcon={({ isOpen }) => (isOpen ? <MinusOutlined /> : <PlusOutlined />)}
21
22
  />