Apply ex. asset changes to module too

This commit is contained in:
kwaroran
2024-09-09 03:18:56 +09:00
parent 595116a83e
commit b18f85bf67

View File

@@ -171,7 +171,7 @@
<th class="font-medium">{language.value}</th>
<th class="font-medium cursor-pointer w-10">
<button class="hover:text-green-500" on:click={async () => {
const da = await selectMultipleFile(['png', 'webp', 'mp4', 'mp3', 'gif'])
const da = await selectMultipleFile(['png', 'webp', 'mp4', 'mp3', 'gif', 'jpeg', 'jpg', 'ttf', 'otf', 'css', 'webm', 'woff', 'woff2', 'svg', 'avif'])
currentModule.assets = currentModule.assets ?? []
if(!da){
return