Skip to content

Commit 665e446

Browse files
author
Simone Mariotti
committed
Fix Clean
1 parent d3f7cf0 commit 665e446

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/data/DeviceModels.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ class DeviceModels {
192192
for (let key of keys) {
193193
if (index[key]) {
194194
for (let v of index[key]) {
195+
v = DeviceModels.cleanUpPattern(v);
195196
if (DeviceModels.hasMatch(v, model)) {
196197
if (v) {
197198
if (v.endsWith('!!')) {
198-
v = DeviceModels.cleanUpPattern(v);
199199
for (let m2 of Object.keys(list[v])) {
200200
const v2 = list[v][m2];
201201
if (DeviceModels.hasMatch(m2, model)) {

0 commit comments

Comments
 (0)