Small optimizations
parent
1587a979ab
commit
84c0afab0c
|
@ -25,6 +25,9 @@ const ActionButtons = ({ diff }) => {
|
|||
<ActionButtonsStyling>
|
||||
<Button disabled={isEmpty(diff.fileConfig)} color="primary" label="Import" onClick={() => openModal('import')} />
|
||||
<Button disabled={isEmpty(diff.fileConfig)} color="primary" label="Export" onClick={() => openModal('export')} />
|
||||
{!isEmpty(diff.diff) && (
|
||||
<h4 style={{ display: 'inline' }}>{Object.keys(diff.diff).length} {Object.keys(diff.diff).length === 1 ? "config change" : "config changes"}</h4>
|
||||
)}
|
||||
<ConfirmModal
|
||||
isOpen={modalIsOpen}
|
||||
onClose={closeModal}
|
||||
|
|
|
@ -23,7 +23,6 @@ export default strapi => {
|
|||
blockerComponent: null,
|
||||
blockerComponentProps: {},
|
||||
description: pluginDescription,
|
||||
icon: pluginPkg.strapi.icon,
|
||||
id: pluginId,
|
||||
initializer: Initializer,
|
||||
injectedComponents: [],
|
||||
|
|
|
@ -7,5 +7,7 @@
|
|||
"role-permissions",
|
||||
"webhooks"
|
||||
],
|
||||
"exclude": []
|
||||
"exclude": [
|
||||
"core-store.plugin_users-permissions_grant"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "Manage your Strapi database configuration as partial json files which can be imported/exported across environments. ",
|
||||
"strapi": {
|
||||
"name": "config-sync",
|
||||
"icon": "plug",
|
||||
"icon": "sync",
|
||||
"description": "Manage your Strapi database configuration as partial json files which can be imported/exported across environments. "
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue