Merge branch 'feature/sort-presets' into 'develop'
Feature/sort presets See merge request tjohn/cc-data!10
This commit is contained in:
commit
b9c53992f0
@ -33,5 +33,9 @@ export class PresetService {
|
|||||||
this.singlePresets.push(presetMap.get(key)[0]);
|
this.singlePresets.push(presetMap.get(key)[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (let presets of this.multiPresets.values()) {
|
||||||
|
presets = presets.sort((a, b) => a.value[0] > b.value[0] ? 1 : -1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,9 +13,9 @@
|
|||||||
"cheap_transportations": "Cheap pubic transport",
|
"cheap_transportations": "Cheap pubic transport",
|
||||||
"cheap_entertainment": "Cheap entertainment",
|
"cheap_entertainment": "Cheap entertainment",
|
||||||
"warm": "warm",
|
"warm": "warm",
|
||||||
"chilly": "chilly",
|
"chilly": "cold",
|
||||||
"mild:": "mild",
|
"mild:": "mild",
|
||||||
"cold": "cold",
|
"cold": "freezing",
|
||||||
"sunny": "sunny",
|
"sunny": "sunny",
|
||||||
"dark": "dark",
|
"dark": "dark",
|
||||||
"almost_no_rain": "almost none",
|
"almost_no_rain": "almost none",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user