Skip to content

Commit

Permalink
CM-854: add grievance config modal (#218)
Browse files Browse the repository at this point in the history
* CM-854: add grievance config modal

* CM-854: pass rights prop

---------

Co-authored-by: Jan <[email protected]>
  • Loading branch information
jdolkowski and Jan authored Apr 8, 2024
1 parent 338e49c commit 406af3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -145,6 +146,10 @@ const App = (props) => {
onLogout={onLogout}
/>
) : null}
<PublishedComponent
pubRef="grievanceSocialProtection.GrievanceConfigurationDialog"
rights={rights}
/>
<div className="App">
{auth.isAuthenticated && <Contributions contributionKey={APP_BOOT_CONTRIBUTION_KEY} />}
<BrowserRouter basename={basename}>
Expand Down
2 changes: 1 addition & 1 deletion src/pickers/CustomFilterFieldStatusPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 406af3b

Please sign in to comment.