Skip to content

Commit

Permalink
Scroll to objective when added to workbench
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter H. Juliussen committed Sep 6, 2023
1 parent 370ad4f commit 4607646
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/GanttChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ export default {
if (!this.workbenchObjectives.find((o) => o.id === objective.id)) {
await this.addWorkbenchObjective(objective.id);
this.scrollToObjective(objective);
if (this.activeObjective && objective.id !== this.activeObjective.id) {
await this.$router.replace({
Expand Down

0 comments on commit 4607646

Please sign in to comment.