mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 15:57:52 -02:30
Rename AnsibleEnvironmentSelect to AnsibleSelect
- Update references to the component.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { mount } from 'enzyme';
|
import { mount } from 'enzyme';
|
||||||
import AnsibleSelect from '../../src/components/AnsibleEnvironmentSelect';
|
import AnsibleSelect from '../../src/components/AnsibleSelect';
|
||||||
|
|
||||||
const mockData = ['foo', 'bar'];
|
const mockData = ['foo', 'bar'];
|
||||||
describe('<AnsibleSelect />', () => {
|
describe('<AnsibleSelect />', () => {
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
import AnsibleSelect from './AnsibleEnvironmentSelect';
|
|
||||||
|
|
||||||
export default AnsibleSelect;
|
|
||||||
3
src/components/AnsibleSelect/index.js
Normal file
3
src/components/AnsibleSelect/index.js
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
import AnsibleSelect from './AnsibleSelect';
|
||||||
|
|
||||||
|
export default AnsibleSelect;
|
||||||
@@ -17,7 +17,7 @@ import {
|
|||||||
|
|
||||||
import { API_ORGANIZATIONS, API_CONFIG } from '../../../endpoints';
|
import { API_ORGANIZATIONS, API_CONFIG } from '../../../endpoints';
|
||||||
import api from '../../../api';
|
import api from '../../../api';
|
||||||
import AnsibleSelect from '../../../components/AnsibleEnvironmentSelect'
|
import AnsibleSelect from '../../../components/AnsibleSelect'
|
||||||
const { light } = PageSectionVariants;
|
const { light } = PageSectionVariants;
|
||||||
|
|
||||||
class OrganizationAdd extends React.Component {
|
class OrganizationAdd extends React.Component {
|
||||||
|
|||||||
Reference in New Issue
Block a user