Skip to content

Commit

Permalink
Merge branch 'development' into WRPD-enhancement-417
Browse files Browse the repository at this point in the history
  • Loading branch information
techoneel authored Nov 8, 2024
2 parents 4d1d856 + 1cd7797 commit 1f6f095
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 9 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.0.576](https://github.com/wrappid/core/compare/v0.0.575...v0.0.576) (2024-11-06)


### Bug Fixes

* **core:** :art: code cleanup ([2ad0c9a](https://github.com/wrappid/core/commit/2ad0c9aad09147683f45b464c1c03e7a421b1043))
* **core:** :zap: handling local action ([da109a2](https://github.com/wrappid/core/commit/da109a281dad3ff3b37482d36b6fdac6ea49c5e7))

### [0.0.575](https://github.com/wrappid/core/compare/v0.0.574...v0.0.575) (2024-11-06)


### Features

* **core:** :fire: component DatePicker supports minDateFunc and maxDateFunc and special values ([f58dd48](https://github.com/wrappid/core/commit/f58dd48c0a6b8dc9fdc2e80fb122bda0ac7f4512))


### Bug Fixes

* **core:** :art: core input consistency and linting fix ([507d1f0](https://github.com/wrappid/core/commit/507d1f017a526271252cea136d567c2c55e20b30))

### [0.0.574](https://github.com/wrappid/core/compare/v0.0.573...v0.0.574) (2024-11-05)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wrappid/core",
"version": "0.0.574",
"version": "0.0.576",
"description": "Multi platform app builder core package.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion package/components/inputs/CoreJSONEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function CoreJSONEditor(props) {

return (
<CoreBox>
<NativeJSONEditor {...props} />;
<NativeJSONEditor {...props} />

{helperText && (
<CoreFormHelperText styleClasses={[CoreClasses.LAYOUT.NO_MARGIN_P]}>
Expand Down
4 changes: 2 additions & 2 deletions package/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wrappid/core",
"version": "0.0.574",
"version": "0.0.576",
"description": "Multi platform app builder core package.",
"main": "index.js",
"scripts": {},
Expand Down
10 changes: 8 additions & 2 deletions package/store/action/appActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import AppService from "../../service/AppService";
import { getForm } from "../../utils/formUtils";
import {
CLEAR_SNACK_MESSAGE,
REMOVE_SNACK_MESSAGE,
MESSAGE_SHOWED,
PUSH_SNACK_MESSAGE,
REMOVE_SNACK_MESSAGE,
RESET_LOADING,
RESET_PROGRESS_BAR,
SET_LOADING,
Expand Down Expand Up @@ -116,12 +116,18 @@ export const apiRequestAction =
});
}

if (localAction) {
/**
* Handling Local Action Type and Function
*/
if (typeof localAction === "string") {
dispatch({
payload: { ...reduxData, ...data },
type : localAction,
});
}else if(typeof localAction === "function"){
localAction(response?.data);
}

if (typeof successType === "string") {
dispatch({
payload: { ...reduxData, ...response.data },
Expand Down

0 comments on commit 1f6f095

Please sign in to comment.