diff --git a/frontend/src/app/components/objective/objective.component.html b/frontend/src/app/components/objective/objective.component.html index f7c1a03f97..6d6e8115dc 100644 --- a/frontend/src/app/components/objective/objective.component.html +++ b/frontend/src/app/components/objective/objective.component.html @@ -1,5 +1,3 @@ -test -
(); + public objective$ = new ReplaySubject(); menuEntries = this.objective$.pipe(map((objective) => this.objectiveMenuActionsService.getMenu(objective))); protected readonly trackByFn = trackByFn; diff --git a/frontend/src/app/services/objective-menu-actions.service.ts b/frontend/src/app/services/objective-menu-actions.service.ts index 2057c8d3a3..d79d961d2f 100644 --- a/frontend/src/app/services/objective-menu-actions.service.ts +++ b/frontend/src/app/services/objective-menu-actions.service.ts @@ -55,7 +55,7 @@ export class ObjectiveMenuActionsService { } private getDraftMenuActions(objective: ObjectiveMin): ObjectiveMenuEntry[] { - return [this.getReleaseAction(objective)]; + return [this.getReleaseAction(objective), this.actions.editObjectiveAction(objective)]; } private getOngoingMenuActions(objective: ObjectiveMin): ObjectiveMenuEntry[] {