Skip to content

Commit

Permalink
SHIBUI-1940 fixed id/name validation of providers
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 9, 2021
1 parent e70257f commit 9809dcd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 4 additions & 2 deletions ui/src/app/metadata/domain/source/SourceDefinition.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import { defaults, merge, toNumber, uniq } from 'lodash';
import { defaults } from 'lodash';
import { merge } from 'lodash/merge';
import { toNumber} from 'lodash/toNumber';
import defaultsDeep from 'lodash/defaultsDeep';
import API_BASE_PATH from '../../../App.constant';
import {removeNull} from '../../../core/utility/remove_null';
import { updatedDiff, detailedDiff } from 'deep-object-diff';
import { detailedDiff } from 'deep-object-diff';

export const SourceBase = {
label: 'Metadata Source',
Expand Down
2 changes: 0 additions & 2 deletions ui/src/app/metadata/editor/MetadataEditorForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { templates } from '../../form/component';
import { useUiSchema } from '../hooks/schema';
import Alert from 'react-bootstrap/Alert';

import { updatedDiff } from 'deep-object-diff';

const invisErrors = ['const', 'oneOf']

function ErrorListTemplate () {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/metadata/wizard/MetadataProviderTypeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function MetadataProviderTypeSelector({ type, types = [], children}) {

const translator = useTranslator();

const { data = [] } = useMetadataProviders({}, []);
const { data = [] } = useMetadataProviders({cachePolicy: 'no-cache'}, []);

const [showSelector, setShowSelector] = React.useState(true);

Expand Down

0 comments on commit 9809dcd

Please sign in to comment.