fix filename not applying

This commit is contained in:
Henry Jameson 2024-10-11 21:21:14 +03:00
commit 1a38e0273e
2 changed files with 3 additions and 2 deletions

View file

@ -689,7 +689,7 @@ export default {
// ## Export and Import
const styleExporter = newExporter({
filename: name.value || 'pleroma_theme',
filename: () => exports.name.value ?? 'pleroma_theme',
mime: 'text/plain',
extension: 'piss',
getExportedObject: () => exportStyleData.value