Merge branch 'pr/115' into feat/conversion-qol

This commit is contained in:
Maya 2025-09-16 19:56:43 +03:00
commit 5a4538c30d
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ class Files {
const url = URL.createObjectURL(blob);
const settings = JSON.parse(localStorage.getItem("settings") ?? "{}");
const filenameFormat = settings.filenameFormat ?? "VERT_%name%";
const filenameFormat = settings.filenameFormat || "VERT_%name%";
const format = (name: string) => {
const date = new Date().toISOString();

View File

@ -139,7 +139,7 @@ export class VertFile {
if (!to.startsWith(".")) to = `.${to}`;
const settings = JSON.parse(localStorage.getItem("settings") ?? "{}");
const filenameFormat = settings.filenameFormat ?? "VERT_%name%";
const filenameFormat = settings.filenameFormat || "VERT_%name%";
const format = (name: string) => {
const date = new Date().toISOString();