Skip to content

Commit

Permalink
fix: embeded page issue outbreak-info#646
Browse files Browse the repository at this point in the history
  • Loading branch information
olekkorob committed Apr 4, 2023
1 parent c3b9e37 commit d35541b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web/src/views/GenomicsEmbed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
v-for="(example, gIdx) in genomicsExamples"
:key="gIdx"
>
<div v-if="example.who_name">
<template v-if="example.who_name">
<router-link
:to="{
name: 'GenomicsEmbed',
Expand All @@ -62,8 +62,8 @@
{{ example.short_name }}
<font-awesome-icon :icon="['fas', 'angle-double-right']" />
</router-link>
</div>
<div v-else>
</template>
<template v-else>
<router-link
:to="{
name: 'GenomicsEmbed',
Expand All @@ -74,7 +74,7 @@
{{ example.short_name }}
<font-awesome-icon :icon="['fas', 'angle-double-right']" />
</router-link>
</div>
</template>
</span>
</small>
</div>
Expand Down Expand Up @@ -313,7 +313,7 @@ watch(
() => route.query,
(newVal, oldVal) => {
if (!isEqual(newVal, oldVal)) {
selectedReportType.value = props.type ? props.type : 'var';
selectedReportType.value = newVal.type ? newVal.type : 'var';
}
},
{ deep: true },
Expand Down

0 comments on commit d35541b

Please sign in to comment.