pcm-shared-components 0.0.99 → 0.0.100

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.
@@ -114,7 +114,7 @@ export const GenericDialogWindow = props => {
114
114
  setOverrides();
115
115
  }, [onClickOverride]);
116
116
  useEffect(() => {
117
- if (appBarMenu && appBarMenu.mainMenu) {
117
+ if (appBarMenu && appBarMenu.mainMenu && appBarMenu.mainMenu.length > 0) {
118
118
  setManagedAppBarMenu({ ...appBarMenu,
119
119
  mainMenu: [...appBarMenu.mainMenu.map(mm => {
120
120
  if (mm.id === 'save') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "0.0.99",
3
+ "version": "0.0.100",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {