You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2021. It is now read-only.
<h3style="padding-top: 100px; padding-bottom:100px;"> No Projects matching yor filters. </h3>
59
+
</center>
60
+
</div>
28
61
<divv-if="showGreetings">
29
62
<hr>
30
63
<center><h2style="margin-left:20px"><spanclass="uk-margin-small-right"uk-icon="icon: heart"></span> Hey, this seems like a brand new installation! Thanks for giving sherlock a try! <spanclass="uk-margin-small-right"uk-icon="icon: heart"></span></h2>
@@ -54,7 +87,12 @@ export default {
54
87
projects: [],
55
88
loading:false,
56
89
showTitle:false,
57
-
showGreetings:false
90
+
showGreetings:false,
91
+
filterActive:false,
92
+
filterClose:false,
93
+
filterNoCycle:false,
94
+
filter: [],
95
+
showNoProject:false
58
96
}
59
97
},
60
98
methods: {
@@ -70,6 +108,21 @@ export default {
70
108
this.showTitle=false
71
109
}
72
110
})
111
+
},
112
+
filterClick:function (item) {
113
+
if (this.filter.indexOf(item) >-1) {
114
+
var index =this.filter.indexOf(item)
115
+
this.filter.splice(index, 1)
116
+
} else {
117
+
this.filter.push(item)
118
+
}
119
+
for (var i =0; i <this.projects.projects.length>0; i++) {
120
+
if (this.filter.length===0||this.filter.indexOf(this.projects.projects[i].cycle_state) >-1) {
0 commit comments