mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 03:17:11 +00:00
commit
cf9ede7e04
@ -11,7 +11,7 @@ import { Button, PopUpWarning } from 'strapi-helper-plugin';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import Wrapper from './Wrapper';
|
||||
|
||||
const PLUGINS_WITH_CONFIG = ['content-manager', 'email', 'upload'];
|
||||
const PLUGINS_WITH_CONFIG = ['email', 'upload'];
|
||||
|
||||
/* eslint-disable react/no-unused-state */
|
||||
class PluginCard extends React.Component {
|
||||
@ -57,10 +57,7 @@ class PluginCard extends React.Component {
|
||||
};
|
||||
|
||||
handleClickSettings = e => {
|
||||
const settingsPath =
|
||||
this.props.plugin.id === 'content-manager'
|
||||
? '/plugins/content-manager/ctm-configurations/models'
|
||||
: `/plugins/${this.props.plugin.id}/configurations/${this.props.currentEnvironment}`;
|
||||
const settingsPath = `/plugins/${this.props.plugin.id}/configurations/${this.props.currentEnvironment}`;
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user