Commit f6c3abe02ef2cda095a5ac0d08f94c0fd510a88d
1 parent
f7616d5b89
Exists in
master
simplifikasi city
Showing 1 changed file with 1 additions and 4 deletions Side-by-side Diff
aaa.js
... | ... | @@ -185,10 +185,7 @@ function pull() { |
185 | 185 | |
186 | 186 | matrix.pull_lock = true; |
187 | 187 | |
188 | - var city = 'ALL'; | |
189 | - if (config.globals.city) { | |
190 | - city = config.globals.city; | |
191 | - } | |
188 | + var city = config.globals.city || 'ALL'; | |
192 | 189 | |
193 | 190 | var products = config.globals.products.trim().toUpperCase().split(/\W+/).join(','); |
194 | 191 | products = products.replace(/,+/g, ','); |