Skip to content

Commit

Permalink
fix edit flows link on flow tab when no gauges present
Browse files Browse the repository at this point in the history
  • Loading branch information
ngottlieb committed Oct 9, 2024
1 parent d82800a commit bba66cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/app/views/river-detail/components/flow-tab/flow-tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@
</template>
<template v-else>
<div>
<a v-if="editMode"
class="cv-button mb-spacing-md bx--btn bx--btn--tertiary bx--btn--sm"
:href="formatLinkUrl(`/content/StreamTeam/edit-correlations/?reach_id=${$route.params.id}`)"
target="_blank"
>Edit Flows</a><!-- TODO: edit flows interface -->
<cv-button v-if="editMode"
class="cv-button mb-spacing-md bx--btn bx--btn--tertiary bx--btn--sm"
target="_blank"
@click.exact="$router.replace(`/river-detail/${$route.params.id}/edit-flows`)"
>Edit Gauges</cv-button>
</div>

<utility-block
Expand Down

0 comments on commit bba66cb

Please sign in to comment.