Fix naming + charset
This commit is contained in:
parent
fa890491e5
commit
599fdc752d
@ -54,7 +54,7 @@ export class ExportScriptarium {
|
|||||||
const header = Misc.join(this.getHeaderLine(), ';')
|
const header = Misc.join(this.getHeaderLine(), ';')
|
||||||
const actorLines = actors.map(actor => Misc.join(this.getActorLine(actor), ';'))
|
const actorLines = actors.map(actor => Misc.join(this.getActorLine(actor), ';'))
|
||||||
const data = Misc.join([header, ...actorLines], eol)
|
const data = Misc.join([header, ...actorLines], eol)
|
||||||
const filename = `scriptatium-${targetName?.slugify()}.csv`;
|
const filename = `scriptarium-${targetName?.slugify()}.csv`;
|
||||||
saveDataToFile(data, "text/csv;charset=utf-8", `${filename}`);
|
saveDataToFile(data, "text/csv;charset=utf-8", `${filename}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user