diff --git a/fxmanifest.lua b/fxmanifest.lua index 3e88e74..9285d1f 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -9,7 +9,7 @@ description 'Customize your virtual persona with precision using the Byte Labs A repository 'https://github.com/Byte-Labs-Studio/bl_appearance' ui_page 'build/index.html' ---ui_page 'http://localhost:3001/' --for dev +-- ui_page 'http://localhost:3000/' --for dev server_scripts { 'data/config.lua', diff --git a/web/src/components/menu/Outfits.svelte b/web/src/components/menu/Outfits.svelte index 023755f..259cc49 100644 --- a/web/src/components/menu/Outfits.svelte +++ b/web/src/components/menu/Outfits.svelte @@ -24,7 +24,8 @@ {#each $OUTFITS as { label, outfit, id, jobname }, i} - + +
{ currentOutfits.push({ id: currentOutfits.length + 1, label: label, + // Just to make sure the outfit is object outfit: JSON.parse(JSON.stringify(outfit)), + jobname: job?.name || null, }); store.set(currentOutfits); },