Skip to content

Commit 0f159f5

Browse files
committed
#147 Added dock collapse on meetup detail page
1 parent 20bd25f commit 0f159f5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/frontendmu-nuxt/components/auth/RsvpToMeetup.vue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,13 @@ const currentEventRsvpDetail = arrayOfEventRsvpDetail && arrayOfEventRsvpDetail[
175175
</template>
176176

177177
<!-- {{ currentEventRsvpDetail }} -->
178+
<BaseButton v-if="rsvpPaneOpen" @click="rsvpPaneOpen = false" color="neutral">
179+
Close
180+
</BaseButton>
178181

179182
<!-- @click="rsvpToCurrentMeetup(meetupId)" -->
180-
<BaseButton v-if="!rsvpPaneOpen" @click="rsvpPaneOpen = true"
181-
:color="isAttendingCurrentEvent ? 'success' : 'primary'">
182-
{{ isAttendingCurrentEvent ? rsvpPaneOpen ? 'Close' : 'Attending' : 'Attend'
183-
}}
183+
<BaseButton v-if="!rsvpPaneOpen" @click="rsvpPaneOpen = true" :color="isAttendingCurrentEvent ? 'success' : 'primary'">
184+
{{ isAttendingCurrentEvent ? 'Attending' : 'Attend' }}
184185
</BaseButton>
185186

186187
<!-- <BaseButton :color="'neutral'">

0 commit comments

Comments
 (0)