Skip to content

Commit

Permalink
feat(apps/directory): removes watch of route from StudyReport
Browse files Browse the repository at this point in the history
  • Loading branch information
svituz committed Sep 17, 2024
1 parent 3533b58 commit 2977179
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions apps/directory/src/views/StudyReport.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<script setup>
import { Breadcrumb, Spinner } from "molgenis-components";
import { computed, ref, watch } from "vue";
import { computed, onMounted, ref, watch } from "vue";
import { useRoute } from "vue-router";
import ReportStudyDetails from "../components/report-components/ReportStudyDetails.vue";
import StudyReportInfoCard from "../components/report-components/StudyReportInfoCard.vue";
Expand All @@ -61,10 +61,6 @@ let loaded = ref(false);
loadStudyReport(route.params.id);
watch(route, async (route) => {
loadStudyReport(route.params.id);
});
const uiText = computed(() => settingsStore.uiText);
const info = computed(() => {
Expand Down

0 comments on commit 2977179

Please sign in to comment.