Skip to content

Commit

Permalink
fix sidebarlinks for subworkflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Jul 13, 2023
1 parent caa896d commit 5780fcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/sidebar/SidebarStats.astro
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export interface Props {
>
<a
class="btn btn-sm btn-outline-secondary"
href={'https://github.com/nf-core/' + component_type + '/issues'}
href={'https://github.com/nf-core/' + (component_type === 'subworkflows' ? 'modules' : '') + '/issues'}
><i class="fab fa-github me-1"></i> Open an issue on GitHub</a
>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/subworkflows/[subworkflowslug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const { subworkflow } = Astro.props;

<div class="col-none col-md-2">
<SidebarStats
component_type={'subworkflow'}
component_type={'subworkflows'}
contributors={subworkflow.meta.authors}
included_pipelines={subworkflow.pipelines}
included_modules={subworkflow.meta.modules}
Expand Down

0 comments on commit 5780fcf

Please sign in to comment.