diff --git a/packages/strapi-admin/admin/src/components/Row/index.js b/packages/strapi-admin/admin/src/components/Row/index.js index d3339bed41..b55c6f9e47 100644 --- a/packages/strapi-admin/admin/src/components/Row/index.js +++ b/packages/strapi-admin/admin/src/components/Row/index.js @@ -44,11 +44,13 @@ class Row extends React.Component { }, { icoType: 'trash', + id: this.props.name, onClick: this.handleClick, }, ] : [ { icoType: 'trash', + id: this.props.name, onClick: this.handleClick, }, ]; diff --git a/packages/strapi-admin/admin/src/containers/ListPluginsPage/saga.js b/packages/strapi-admin/admin/src/containers/ListPluginsPage/saga.js index a775970b33..5da414bf76 100644 --- a/packages/strapi-admin/admin/src/containers/ListPluginsPage/saga.js +++ b/packages/strapi-admin/admin/src/containers/ListPluginsPage/saga.js @@ -12,6 +12,9 @@ import { makeSelectPluginToDelete } from './selectors'; export function* deletePlugin() { try { const plugin = yield select(makeSelectPluginToDelete()); + + console.log("DELETE", plugin); + const requestUrl = `/admin/plugins/uninstall/${plugin}`; const resp = yield call(request, requestUrl, { method: 'DELETE' }); diff --git a/packages/strapi-plugin-upload/admin/src/assets/icons/icon_upload_2.svg b/packages/strapi-plugin-upload/admin/src/assets/icons/icon_upload_2.svg deleted file mode 100644 index 55d6278ae4..0000000000 --- a/packages/strapi-plugin-upload/admin/src/assets/icons/icon_upload_2.svg +++ /dev/null @@ -1 +0,0 @@ -icon_upload_2 \ No newline at end of file diff --git a/packages/strapi-plugin-upload/admin/src/components/PluginInputFile/index.js b/packages/strapi-plugin-upload/admin/src/components/PluginInputFile/index.js index 2687101067..07bd7f0b0f 100644 --- a/packages/strapi-plugin-upload/admin/src/components/PluginInputFile/index.js +++ b/packages/strapi-plugin-upload/admin/src/components/PluginInputFile/index.js @@ -13,6 +13,7 @@ import styles from './styles.scss'; /* eslint-disable react/no-string-refs */ /* eslint-disable jsx-a11y/label-has-for */ +/* eslint-disable react/jsx-tag-spacing */ class PluginInputFile extends React.PureComponent { state = { isDraging: false }; @@ -39,7 +40,6 @@ class PluginInputFile extends React.PureComponent { ); - console.log(showLoader); return (