瀏覽代碼

:recycle: missing func declaration | oops

tags/0.9.0
J 4 年之前
父節點
當前提交
3897cf52c7
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      vue-theme/src/store/modules/event.js

+ 1
- 1
vue-theme/src/store/modules/event.js 查看文件

@@ -12,7 +12,7 @@ const getters = {
12 12
     allEvents: state => state.all,
13 13
     allEventsLoaded: state => state.loaded,
14 14
     pastEvents: state => state.all.filter(event => parseInt(event.end) > now),
15
-    upcomingAndCurrentEvents: state.all.filter(event => parseInt(event.end) <= now),
15
+    upcomingAndCurrentEvents: state => state.all.filter(event => parseInt(event.end) <= now),
16 16
 }
17 17
 
18 18
 const actions = {

Loading…
取消
儲存