Skip to content

Commit

Permalink
fix: /ticketsでAPIから情報を取得するのを停止
Browse files Browse the repository at this point in the history
  • Loading branch information
aozoraUS committed Mar 26, 2024
1 parent bca5207 commit fafc3c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pages/groups/_groupId/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -518,17 +518,8 @@ export default Vue.extend({
})
}
}
this.$axios
.$get(
'/ga/screenpageview?start_date=7daysAgo&end_date=today&page_path=' +
this.$route.path
)
.then((res) => {
this.view_count = res.view
})
.catch(() => {
this.view_count = 'エラー'
})
this.view_count = 'エラー'
// 全ての公演(events)から,ログイン中のユーザ属性(e.g.students,parents)に合致する公演のみがfilteredEventsに格納される
// '&& this.isToday(val.sell_starts, val.sell_ends, val.starts_at)'を付け加えれば,当日の整理券のみが表示されるようになる
Expand Down
3 changes: 3 additions & 0 deletions pages/tickets/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,8 @@ export default Vue.extend({
title: '整理券',
},
async created() {
// 静的サイトにするにあたって全て削除
/*
this.fetchTicket()
try {
if (this.$auth.$state.strategy === 'ad') {
Expand All @@ -431,6 +433,7 @@ export default Vue.extend({
this.qrcodeUrl = await getQRCodeDataUrl(this.$auth.user?.sub as string)
}
} catch {}
*/
// 500msごとに現在時刻を取得
// setInterval(this.getNow, 500)
},
Expand Down

0 comments on commit fafc3c1

Please sign in to comment.