Skip to content

Commit

Permalink
fix(survey): correctly typed optional surveyId
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashroch committed Dec 4, 2024
1 parent 27b92ea commit eda2a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/survey/src/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default defineComponent({
const title = computed(() => t(route.meta?.title ?? 'common._'));
const windowInnerHeight = computed(() => window.innerHeight);
const surveyId = computed(() => route.params.surveyId.toString());
const surveyId = computed<string | undefined>(() => route.params.surveyId?.toString());
const showContact = computed(() => route.name === 'home');
function toggleSidebar() {
Expand Down

0 comments on commit eda2a05

Please sign in to comment.