diff --git a/src/components/App.js b/src/components/App.js index 5b58355..234859d 100644 --- a/src/components/App.js +++ b/src/components/App.js @@ -22,6 +22,7 @@ import { onLogout } from "../helpers/utils"; import { RIGHT_VIEW_EU_MODAL } from "../constants"; import NotFoundPage from "./NotFoundPage"; import PermissionCheck from "./PermissionCheck"; +import PublishedComponent from "./generics/PublishedComponent"; export const ROUTER_CONTRIBUTION_KEY = "core.Router"; export const UNAUTHENTICATED_ROUTER_CONTRIBUTION_KEY = "core.UnauthenticatedRouter"; @@ -145,6 +146,10 @@ const App = (props) => { onLogout={onLogout} /> ) : null} +
{auth.isAuthenticated && } diff --git a/src/pickers/CustomFilterFieldStatusPicker.js b/src/pickers/CustomFilterFieldStatusPicker.js index 9d8037b..e263e19 100644 --- a/src/pickers/CustomFilterFieldStatusPicker.js +++ b/src/pickers/CustomFilterFieldStatusPicker.js @@ -15,7 +15,7 @@ const CustomFilterFieldStatusPicker = ({ required = false, customFilters, }) => { - + const options = Array.isArray(customFilters) && customFilters !== undefined ? [ ...customFilters.map((customFilter) => ({ value: { field: customFilter.field, type: customFilter.type },