Skip to content

Commit

Permalink
SHIBUI-2552: Fixed root context issue for bundles and filters
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis authored and credman committed Mar 31, 2023
1 parent 3bef2b4 commit 13685d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { defaultsDeep } from "lodash";
import { BASE_PATH } from "../../../App.constant";

export const AttributeBundleDefinition = {
label: 'Metadata Attribute Bundle',
type: '@MetadataAttributeBundle',
steps: [],
schema: `/assets/schema/attribute/bundle.schema.json`,

schema: `${BASE_PATH}assets/schema/attribute/bundle.schema.json`,
uiSchema: {
attributes: {
'ui:widget': 'AttributeReleaseWidget'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ import { getDefinition } from '../../../domain/index';
import { MetadataConfiguration } from '../../../component/MetadataConfiguration';
import { useMetadataConfiguration } from '../../../hooks/configuration';
import useFetch from 'use-http';
import { BASE_PATH } from '../../../../App.constant';

export function MetadataFilterConfigurationListItem ({ filter, isLast, isFirst, onOrderUp, onOrderDown, onEnable, editable, onRemove, loading, index }) {
const [open, setOpen] = React.useState(false);

const definition = React.useMemo(() => getDefinition(filter['@type'], ), [filter]);

const { get, response } = useFetch(`${BASE_PATH}`);
const { get, response } = useFetch(``);

const [schema, setSchema] = React.useState();

Expand Down

0 comments on commit 13685d9

Please sign in to comment.