mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 01:36:14 +08:00
song_Skin should be song_skin, info_Fill should be info_fill
This commit is contained in:
parent
8fe06bfb9d
commit
962adb1dc7
@ -108,11 +108,11 @@ class Loader{
|
||||
this.addPromise(this.ajax("/api/categories").then(cats => {
|
||||
assets.categories = JSON.parse(cats)
|
||||
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
|
||||
delete cat.song_Skin
|
||||
cat.songSkin.infoFill = cat.songSkin.info_Fill
|
||||
delete cat.songSkin.info_Fill
|
||||
if(cat.song_skin){
|
||||
cat.songSkin = cat.song_skin //rename the song_skin property and add category title to categories array
|
||||
delete cat.song_skin
|
||||
cat.songSkin.infoFill = cat.songSkin.info_fill
|
||||
delete cat.songSkin.info_fill
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user