Skip to content

Commit b334685

Browse files
fix: add '.zip' extension when exporting CT files
1 parent 3499ea3 commit b334685

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data/SpectraManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,5 +214,5 @@ export async function exportForCT(options: ExportForCTOptions) {
214214
await zip.add(`${molFileName}.mol`, new TextReader(molecule.toMolfile()));
215215

216216
const blob = await zip.close();
217-
fileSaver.saveAs(blob, name);
217+
fileSaver.saveAs(blob, `${name}.zip`);
218218
}

0 commit comments

Comments
 (0)