Skip to content

Commit

Permalink
Add condition for showing usage dashboard url
Browse files Browse the repository at this point in the history
Just check if the analytics URL is set or not.
  • Loading branch information
richardhallett committed Jun 3, 2022
1 parent 9a3b556 commit 0431124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/repositories/show.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
Info
</nav.link-to>
</nav.item>
{{!-- {{#if (show-analytics)}} --}}
{{#if model.analyticsDashboardUrlCmp}}
<nav.item>
<nav.link-to
@route="repositories.show.analytics"
Expand All @@ -95,7 +95,7 @@
Usage Dashboard
</nav.link-to>
</nav.item>
{{!-- {{/if}} --}}
{{/if}}
<nav.item>
<nav.link-to
@route="repositories.show.index"
Expand Down

0 comments on commit 0431124

Please sign in to comment.