Skip to content

Commit b28f34f

Browse files
authored
Merge pull request #6 from boazpoolman/develop
Develop
2 parents b9e6a37 + 3077b35 commit b28f34f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

admin/src/containers/ConfigPage/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import ActionButtons from '../../components/ActionButtons';
88

99
const ConfigPage = () => {
1010
const dispatch = useDispatch();
11-
const isLoading = useSelector((state) => state.getIn(['config', 'isLoading']), Map());
12-
const configDiff = useSelector((state) => state.getIn(['config', 'configDiff']), Map());
11+
const isLoading = useSelector((state) => state.getIn(['config', 'isLoading'], Map({})));
12+
const configDiff = useSelector((state) => state.getIn(['config', 'configDiff'], Map({})));
1313

1414
useEffect(() => {
1515
dispatch(getAllConfigDiff());

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strapi-plugin-config-sync",
3-
"version": "0.1.4",
3+
"version": "0.1.5",
44
"description": "Manage your Strapi database configuration as partial json files which can be imported/exported across environments. ",
55
"strapi": {
66
"name": "config-sync",

0 commit comments

Comments
 (0)