Skip to content

Commit

Permalink
OM-131: create new contribution point
Browse files Browse the repository at this point in the history
  • Loading branch information
olewandowski1 committed Mar 27, 2024
1 parent 738d199 commit 4d08466
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/AdminMainMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import {
} from "../constants";

const ADMIN_MAIN_MENU_CONTRIBUTION_KEY = "admin.MainMenu";
const ADMIN_VOUCHER_MAIN_MENU_CONTRIBUTION_KEY = "admin.voucher.MainMenu";

class AdminMainMenu extends Component {
constructor(props) {
Expand All @@ -50,7 +51,7 @@ class AdminMainMenu extends Component {

entries.push(
...this.props.modulesManager
.getContribs(ADMIN_MAIN_MENU_CONTRIBUTION_KEY)
.getContribs(ADMIN_VOUCHER_MAIN_MENU_CONTRIBUTION_KEY)
.filter((c) => !c.filter || c.filter(rights)),
);

Expand Down

0 comments on commit 4d08466

Please sign in to comment.