mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 10:55:37 +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 forms from './forms.json';
|
||||
|
||||
const SettingViewList = ({
|
||||
const ListSettingsView = ({
|
||||
location: { search },
|
||||
match: {
|
||||
params: { slug },
|
||||
@ -197,7 +197,7 @@ const SettingViewList = ({
|
||||
);
|
||||
};
|
||||
|
||||
SettingViewList.propTypes = {
|
||||
ListSettingsView.propTypes = {
|
||||
location: PropTypes.shape({
|
||||
search: PropTypes.string.isRequired,
|
||||
}).isRequired,
|
||||
@ -208,4 +208,4 @@ SettingViewList.propTypes = {
|
||||
}).isRequired,
|
||||
};
|
||||
|
||||
export default SettingViewList;
|
||||
export default ListSettingsView;
|
||||
@ -16,7 +16,7 @@ import pluginId from '../../pluginId';
|
||||
import DragLayer from '../../components/DragLayer';
|
||||
import EditView from '../EditView';
|
||||
import ListView from '../ListView';
|
||||
import SettingsViewList from '../SettingViewList';
|
||||
import ListSettingsView from '../ListSettingsView';
|
||||
import SettingViewModel from '../SettingViewModel';
|
||||
import SettingViewGroup from '../SettingViewGroup';
|
||||
import SettingsView from '../SettingsView';
|
||||
@ -88,7 +88,7 @@ function Main({
|
||||
const routes = [
|
||||
{
|
||||
path: 'ctm-configurations/list-settings/:slug',
|
||||
comp: SettingsViewList,
|
||||
comp: ListSettingsView,
|
||||
},
|
||||
{
|
||||
path: 'ctm-configurations/models/:name/:settingType',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user