Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

events/:eventIdのtokensの作成 #178

Merged
merged 9 commits into from
Jul 17, 2023
Merged

events/:eventIdのtokensの作成 #178

merged 9 commits into from
Jul 17, 2023

Conversation

mehm8128
Copy link
Member

@mehm8128 mehm8128 commented Jun 25, 2023

close #177
日付のコンポーネントのデザイン変えるの結構めんどくさかった記憶あるから一旦これでいきたいです
サーバーに送るときの日付の扱い方はどうすればいいのか分からなかったので一旦動く形にしています(参考:コメントアウトのURL)

動作確認用

<script setup lang="ts">
import { onMounted, ref } from 'vue'
import apis, { Token } from '@/lib/apis'
import EventTokens from '@/components/EventDetail/EventTokens.vue'

const tokens = ref<Token[]>([])

const fetchTokens = async () => {
  const res = (
    await apis.getMeetingTokens('c714a848-2886-4c10-a313-de9bc61cb2bb')
  ).data
  tokens.value = res
}

onMounted(fetchTokens)
</script>

<template>
  <event-tokens :tokens="tokens" />
</template>

@mehm8128 mehm8128 self-assigned this Jun 25, 2023
@mehm8128 mehm8128 changed the title events/event:idのtokensの作成 events/:eventIdのtokensの作成 Jun 29, 2023
@mehm8128 mehm8128 marked this pull request as ready for review July 10, 2023 11:46
Copy link
Member

@Rozelin-dc Rozelin-dc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

動作は良さそうです!

src/components/EventDetail/EventTokenItem.vue Show resolved Hide resolved
src/components/EventDetail/EventTokenItem.vue Outdated Show resolved Hide resolved
src/components/UI/DateChip.vue Outdated Show resolved Hide resolved
@mehm8128 mehm8128 requested a review from Rozelin-dc July 15, 2023 12:48
Copy link
Member

@Rozelin-dc Rozelin-dc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

良さそうです!

@mehm8128 mehm8128 merged commit d6dc1e9 into main Jul 17, 2023
5 checks passed
@mehm8128 mehm8128 deleted the feat/event_tokens branch July 17, 2023 02:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

event tokenコンポーネントの作成
2 participants