pcm-shared-components 0.0.171 → 0.0.172

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.
@@ -27,7 +27,7 @@ export const GenericDialogWindow = props => {
27
27
  //---------------------------------------------------
28
28
 
29
29
  const [can_save, setCanSave] = useState(false);
30
- const [is_loading, setIsLoading] = useState(false);
30
+ const [isLoading, setIsLoading] = useState(false);
31
31
  const [managedAppBarMenu, setManagedAppBarMenu] = useState(undefined);
32
32
  const [save_button_label, setSaveButtonLabel] = useState(undefined);
33
33
  const [onClickOverride, setOnClickOverride] = useState([]);
@@ -171,6 +171,7 @@ export const GenericDialogWindow = props => {
171
171
  }, component ? /*#__PURE__*/React.cloneElement(component, {
172
172
  parentProps: {
173
173
  setCanSave,
174
+ isLoading,
174
175
  setIsLoading,
175
176
  setSaveButtonLabel,
176
177
  closeDialog,
@@ -189,7 +190,7 @@ export const GenericDialogWindow = props => {
189
190
  onClick: onSave,
190
191
  disabled: !can_save
191
192
  }, save_button_label ? save_button_label : getSaveButtonLabel()))), /*#__PURE__*/React.createElement(LoadingBackdrop, {
192
- isLoading: is_loading
193
+ isLoading: isLoading
193
194
  })));
194
195
  };
195
196
  export default GenericDialogWindow;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pcm-shared-components",
3
- "version": "0.0.171",
3
+ "version": "0.0.172",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "babel": {