mirror of https://github.com/VERT-sh/VERT.git
Merge branch 'pr/115' into feat/conversion-qol
This commit is contained in:
commit
5a4538c30d
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue