Skip to content

Commit

Permalink
Remove redundant pageMounted checks
Browse files Browse the repository at this point in the history
  • Loading branch information
david-mears-2 committed Sep 10, 2024
1 parent 1be60ca commit a76a480
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/ParameterForm.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div v-show="pageMounted">
<div>
<CForm
v-if="props.metadata && formData"
class="inputs"
Expand Down Expand Up @@ -109,7 +109,6 @@ const formData = ref(
const appStore = useAppStore();
const navigateToData = ref("");
const pageMounted = ref(false);
const optionsAreTerse = (parameter: Parameter) => {
const eachOptionIsASingleWord = parameter.options.every((option) => {
Expand Down Expand Up @@ -153,10 +152,6 @@ const submitForm = async () => {
await navigateTo(navigateToData.value);
};
};
onMounted(() => {
pageMounted.value = true;
});
</script>

<style lang="scss">
Expand Down

0 comments on commit a76a480

Please sign in to comment.