mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-03 19:36:20 +00:00 
			
		
		
		
	Move RelationDPStateComponent to helper plugin
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
		
							parent
							
								
									a54ae6d74f
								
							
						
					
					
						commit
						c652aaf312
					
				@ -81,6 +81,7 @@ export { default as NotFound } from './components/NotFound';
 | 
			
		||||
export { default as OverlayBlocker } from './components/OverlayBlocker';
 | 
			
		||||
export { default as PageFooter } from './components/PageFooter';
 | 
			
		||||
export { default as PluginHeader } from './components/PluginHeader';
 | 
			
		||||
export { default as RelationDPState } from './components/RelationDPState';
 | 
			
		||||
export { default as PopUpWarning } from './components/PopUpWarning';
 | 
			
		||||
export { default as Row } from './components/Row';
 | 
			
		||||
export { default as SearchInfo } from './components/SearchInfo';
 | 
			
		||||
 | 
			
		||||
@ -4,9 +4,9 @@ import PropTypes from 'prop-types';
 | 
			
		||||
import { Link, useLocation } from 'react-router-dom';
 | 
			
		||||
import { isEmpty } from 'lodash';
 | 
			
		||||
import { useIntl } from 'react-intl';
 | 
			
		||||
import { RelationDPState } from 'strapi-helper-plugin';
 | 
			
		||||
import { getDisplayedValue, getTrad } from '../../utils';
 | 
			
		||||
import IconRemove from '../../assets/images/icon_remove.svg';
 | 
			
		||||
import RelationDPState from '../RelationDPState';
 | 
			
		||||
import { Span } from './components';
 | 
			
		||||
 | 
			
		||||
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
 | 
			
		||||
 | 
			
		||||
@ -3,8 +3,8 @@ import { components } from 'react-select';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import { get, has, isEmpty } from 'lodash';
 | 
			
		||||
import { Flex, Padded, Text } from '@buffetjs/core';
 | 
			
		||||
import { RelationDPState } from 'strapi-helper-plugin';
 | 
			
		||||
import { getDisplayedValue } from '../../utils';
 | 
			
		||||
import RelationDPState from '../RelationDPState';
 | 
			
		||||
 | 
			
		||||
const SingleValue = props => {
 | 
			
		||||
  const Component = components.SingleValue;
 | 
			
		||||
 | 
			
		||||
@ -5,8 +5,8 @@ import { useIntl } from 'react-intl';
 | 
			
		||||
import PropTypes from 'prop-types';
 | 
			
		||||
import { get, has, isEmpty } from 'lodash';
 | 
			
		||||
import { Flex, Text } from '@buffetjs/core';
 | 
			
		||||
import { RelationDPState } from 'strapi-helper-plugin';
 | 
			
		||||
import { getDisplayedValue, getTrad } from '../../utils';
 | 
			
		||||
import RelationDPState from '../RelationDPState';
 | 
			
		||||
 | 
			
		||||
const TextGrow = styled(Text)`
 | 
			
		||||
  flex-grow: 2;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user