Skip to content

Commit

Permalink
Merge pull request #42 from miyaoka/notify-test
Browse files Browse the repository at this point in the history
通知確認用に開始時間を過ぎたイベントにも通知ボタンを表示する
  • Loading branch information
miyaoka authored Oct 3, 2024
2 parents aef7840 + e341da0 commit 7395542
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/streams/detail/LiverEventDetailPopover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ function setSearchString(str: string) {
// 通知機能が使えるか
const canSetNotify = computed(() => {
if (!notificationStore.isSupported) return false;
return true;
// 開始時間前なら通知可能
return beforeStartTime.value && !isFinished.value;
// return beforeStartTime.value && !isFinished.value;
});
async function onClickNotify(id: string) {
Expand Down

0 comments on commit 7395542

Please sign in to comment.