Commit 796ed9d 1 parent 2432923 commit 796ed9d Copy full SHA for 796ed9d
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -620,7 +620,7 @@ export default {
620
620
filteredData () {
621
621
let data = this .items
622
622
if (this .type === ' item' ) {
623
- if (this .dataTable .onlyOpen ) data = data .filter (el => existUtils .existence (el .stage , true ))
623
+ if (this .dataTable .onlyOpen ) data = data .filter (el => existUtils .existence (el .stage , true ) && ( el . end === null || el . end > Date . now ()) )
624
624
if (! this .dataTable .showPermanent ) data = data .filter (el => el .stage .stageType !== ' MAIN' && el .stage .stageType !== ' SUB' && el .stage .stageType !== ' DAILY' )
625
625
if (! this .dataTable .showActivity ) data = data .filter (el => el .stage .stageType !== ' ACTIVITY' )
626
626
} else if (this .type === ' stage' ) {
Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ export default {
126
126
const data = get .statistics .byItemId (this .itemId )
127
127
// filter out stages that have too less samples
128
128
.filter (el => el .times > 100 )
129
- // only open stages
130
- .filter (el => existUtils .existence (el .stage , true ))
129
+ // only open stages, and item must still be droppable now
130
+ .filter (el => existUtils .existence (el .stage , true ) && ( el . end === null || el . end > Date . now ()) )
131
131
132
132
.sort ((a , b ) => b .percentage - a .percentage )
133
133
You can’t perform that action at this time.
0 commit comments