6
0
Kaynağa Gözat

Merge branch '136-label-selection-using-substrings' into 'master'

Resolve "label selection using substrings"

Closes #136

See merge request troebs/pycs!123
Eric Tröbs 3 yıl önce
ebeveyn
işleme
362a8e3632
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      webui/src/components/media/label-selector.vue

+ 1 - 1
webui/src/components/media/label-selector.vue

@@ -52,7 +52,7 @@ export default {
         identifier: null,
         name: 'None'
       }, ...this.labels]
-          .filter(l => !this.search || !l.identifier || l.name.toLowerCase().startsWith(search));
+          .filter(l => !this.search || !l.identifier || l.name.toLowerCase().includes(search));
     }
   },
   methods: {