mirror of
https://github.com/strapi/strapi.git
synced 2025-11-14 17:19:01 +00:00
Rename list settings view container
This commit is contained in:
parent
5cfff88311
commit
1ce7d51c3a
@ -15,7 +15,7 @@ import SortWrapper from '../../components/SortWrapper';
|
|||||||
import reducer, { initialState } from './reducer';
|
import reducer, { initialState } from './reducer';
|
||||||
import forms from './forms.json';
|
import forms from './forms.json';
|
||||||
|
|
||||||
const SettingViewList = ({
|
const ListSettingsView = ({
|
||||||
location: { search },
|
location: { search },
|
||||||
match: {
|
match: {
|
||||||
params: { slug },
|
params: { slug },
|
||||||
@ -197,7 +197,7 @@ const SettingViewList = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
SettingViewList.propTypes = {
|
ListSettingsView.propTypes = {
|
||||||
location: PropTypes.shape({
|
location: PropTypes.shape({
|
||||||
search: PropTypes.string.isRequired,
|
search: PropTypes.string.isRequired,
|
||||||
}).isRequired,
|
}).isRequired,
|
||||||
@ -208,4 +208,4 @@ SettingViewList.propTypes = {
|
|||||||
}).isRequired,
|
}).isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default SettingViewList;
|
export default ListSettingsView;
|
||||||
@ -16,7 +16,7 @@ import pluginId from '../../pluginId';
|
|||||||
import DragLayer from '../../components/DragLayer';
|
import DragLayer from '../../components/DragLayer';
|
||||||
import EditView from '../EditView';
|
import EditView from '../EditView';
|
||||||
import ListView from '../ListView';
|
import ListView from '../ListView';
|
||||||
import SettingsViewList from '../SettingViewList';
|
import ListSettingsView from '../ListSettingsView';
|
||||||
import SettingViewModel from '../SettingViewModel';
|
import SettingViewModel from '../SettingViewModel';
|
||||||
import SettingViewGroup from '../SettingViewGroup';
|
import SettingViewGroup from '../SettingViewGroup';
|
||||||
import SettingsView from '../SettingsView';
|
import SettingsView from '../SettingsView';
|
||||||
@ -88,7 +88,7 @@ function Main({
|
|||||||
const routes = [
|
const routes = [
|
||||||
{
|
{
|
||||||
path: 'ctm-configurations/list-settings/:slug',
|
path: 'ctm-configurations/list-settings/:slug',
|
||||||
comp: SettingsViewList,
|
comp: ListSettingsView,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'ctm-configurations/models/:name/:settingType',
|
path: 'ctm-configurations/models/:name/:settingType',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user