Skip to content

Commit

Permalink
Adapt generated timeline links to show to the Gantt module (#14694)
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Feb 6, 2024
1 parent e66cdc3 commit da62e80
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 35 deletions.
2 changes: 1 addition & 1 deletion app/components/projects/index_page_header_component.rb
Expand Up @@ -55,7 +55,7 @@ def initialize(current_user:, query:, params:, state: :show)

def gantt_portfolio_query_link
generator = ::Projects::GanttQueryGeneratorService.new(gantt_portfolio_project_ids)
work_packages_path query_props: generator.call
gantt_index_path query_props: generator.call
end

def gantt_portfolio_project_ids
Expand Down
Expand Up @@ -110,7 +110,7 @@ export class OpDatePickerBannerComponent {
};

const href = this.state.href(
'work-packages.partitioned.list',
'gantt.partitioned.list',
{
query_id: null,
projects: null,
Expand Down
33 changes: 0 additions & 33 deletions lib/open_project/default_wp_queries.rb

This file was deleted.

0 comments on commit da62e80

Please sign in to comment.