feat: Added feature to allow users to give directions for study spaces. These... #54

Merged
tt2022 merged 2 commits from feat/directions into master 2025-06-13 12:48:50 +00:00
7 changed files with 20 additions and 0 deletions
Showing only changes of commit 602bf07d02 - Show all commits

View File

@@ -26,6 +26,7 @@
const { error: feedbackUpload } = await supabase
.from("study_spaces")
.update({
directions: newStudySpaceData.directions,
volume: newStudySpaceData.volume,
wifi: newStudySpaceData.wifi,
power: newStudySpaceData.power,

View File

@@ -166,12 +166,12 @@
</div>
{/each}
<hr />
<div class="subtitle">Directions:</div>
<p class="addrContainer">
{space.directions}
</p>
<div class="subtitle">Where it is:</div>
<p class="addrContainer">
{#if place.name}