1
0
mirror of https://github.com/Mayccoll/Gogh.git synced 2023-08-10 21:12:46 +03:00

feat: show theme number next to name

This commit is contained in:
João V. Veras 2022-06-20 16:48:16 -03:00
parent 83bb1f6a94
commit d74c5b0f80
2 changed files with 3 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -132,8 +132,9 @@ const $app = {
created () {
axios.get($getUrl).then((response) => {
this.themes = response.data.themes;
this.themes.forEach((v) => {
this.themes.forEach((v, idx) => {
v.category = lightOrDark(v.background);
v.name = v.name + ` (${idx + 1})`
});
});
},