Skip to content

Commit

Permalink
feat: Add link for metrics in combinator view
Browse files Browse the repository at this point in the history
  • Loading branch information
bmario committed Jun 12, 2024
1 parent deac351 commit bab532f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion components/CombinedMetricNode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@
<span v-if="type === 'empty'">
<em class="text-danger">Missing input!</em>
</span>
<span v-else-if="type === 'metric'">{{ expression }}</span>
<span v-else-if="type === 'metric'">
<b-link
:to="{
name: 'metric-metricId',
params: { metricId: expression },
}"
>
{{ expression }}
</b-link>
</span>
<span v-else-if="type === 'number'">{{ expression }}</span>
<span v-else-if="type === 'throttle'">
throttle ({{ expression.cooldown_period }})
Expand Down

0 comments on commit bab532f

Please sign in to comment.