Skip to content

Commit

Permalink
default option for metric selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Sep 14, 2023
1 parent c451e87 commit 52fd4b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion report-viewer/src/components/ToolTipComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ const arrowStyle = computed(() => {
}
*:hover > .delay-visible {
transition-delay: 0.25s;
transition-delay: 0.2s;
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</template>

<script setup lang="ts">
import { computed, type Ref } from 'vue'
import { computed, type PropType, type Ref } from 'vue'
import OptionsSelectorComponent from './OptionsSelectorComponent.vue'
import { MetricType, metricToolTips } from '@/model/MetricType'
Expand All @@ -21,6 +21,11 @@ const props = defineProps({
type: String,
required: false,
default: ''
},
defaultSelection: {
type: String as PropType<MetricType>,
required: false,
default: MetricType.AVERAGE
}
})
Expand Down

0 comments on commit 52fd4b7

Please sign in to comment.