Project request dialog : close after submit
This commit is contained in:
parent
be67441044
commit
c4f7a5318a
3 changed files with 2 additions and 7 deletions
|
|
@ -102,6 +102,6 @@ async function handleSubmit() {
|
|||
};
|
||||
|
||||
const response = await api.post(formData, "request-project-creation.json");
|
||||
console.log(response);
|
||||
isOpen.value = false;
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -102,8 +102,6 @@ async function handleSubmit() {
|
|||
formData,
|
||||
"/request-optimization-appointment.json"
|
||||
);
|
||||
|
||||
console.log(response);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -80,9 +80,6 @@ const isOptimizationDialogOpen = ref(false);
|
|||
const isProjectRequestDialogOpen = ref(false);
|
||||
|
||||
const background = computed(() => {
|
||||
return (
|
||||
page.value?.background?.url ??
|
||||
"https://plus.unsplash.com/premium_photo-1675355675464-2deabb1f893b?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
|
||||
);
|
||||
return page.value?.background?.url;
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue