projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some styles improvement attempts (how to uniformize modals?)
[vchess.git]
/
public
/
javascripts
/
index.js
diff --git
a/public/javascripts/index.js
b/public/javascripts/index.js
index
29e48f7
..
54c296b
100644
(file)
--- a/
public/javascripts/index.js
+++ b/
public/javascripts/index.js
@@
-8,7
+8,11
@@
new Vue({
},
computed: {
sortedCounts: function () {
},
computed: {
sortedCounts: function () {
- const variantsCounts = variantArray.map( v => {
+ const variantsCounts = variantArray
+ .filter( v => {
+ return v.name.startsWith(this.curPrefix);
+ })
+ .map( v => {
return {
name: v.name,
desc: v.description,
return {
name: v.name,
desc: v.description,