mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
renamed infoFill to info_Fill on in the database
This commit is contained in:
parent
800e136f91
commit
8fe06bfb9d
@ -108,8 +108,12 @@ class Loader{
|
|||||||
this.addPromise(this.ajax("/api/categories").then(cats => {
|
this.addPromise(this.ajax("/api/categories").then(cats => {
|
||||||
assets.categories = JSON.parse(cats)
|
assets.categories = JSON.parse(cats)
|
||||||
assets.categories.forEach(cat => {
|
assets.categories.forEach(cat => {
|
||||||
|
if(cat.song_Skin){
|
||||||
cat.songSkin = cat.song_Skin //rename the song_skin property and add category title to categories array
|
cat.songSkin = cat.song_Skin //rename the song_skin property and add category title to categories array
|
||||||
delete cat.song_Skin
|
delete cat.song_Skin
|
||||||
|
cat.songSkin.infoFill = cat.songSkin.info_Fill
|
||||||
|
delete cat.songSkin.info_Fill
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
assets.categories.push({
|
assets.categories.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user