commit
b28f34fd32
|
@ -8,8 +8,8 @@ import ActionButtons from '../../components/ActionButtons';
|
|||
|
||||
const ConfigPage = () => {
|
||||
const dispatch = useDispatch();
|
||||
const isLoading = useSelector((state) => state.getIn(['config', 'isLoading']), Map());
|
||||
const configDiff = useSelector((state) => state.getIn(['config', 'configDiff']), Map());
|
||||
const isLoading = useSelector((state) => state.getIn(['config', 'isLoading'], Map({})));
|
||||
const configDiff = useSelector((state) => state.getIn(['config', 'configDiff'], Map({})));
|
||||
|
||||
useEffect(() => {
|
||||
dispatch(getAllConfigDiff());
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "strapi-plugin-config-sync",
|
||||
"version": "0.1.4",
|
||||
"version": "0.1.5",
|
||||
"description": "Manage your Strapi database configuration as partial json files which can be imported/exported across environments. ",
|
||||
"strapi": {
|
||||
"name": "config-sync",
|
||||
|
|
Loading…
Reference in New Issue