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:
parent
83bb1f6a94
commit
d74c5b0f80
File diff suppressed because one or more lines are too long
|
@ -132,8 +132,9 @@ const $app = {
|
||||||
created () {
|
created () {
|
||||||
axios.get($getUrl).then((response) => {
|
axios.get($getUrl).then((response) => {
|
||||||
this.themes = response.data.themes;
|
this.themes = response.data.themes;
|
||||||
this.themes.forEach((v) => {
|
this.themes.forEach((v, idx) => {
|
||||||
v.category = lightOrDark(v.background);
|
v.category = lightOrDark(v.background);
|
||||||
|
v.name = v.name + ` (${idx + 1})`
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user