untitled fix

This commit is contained in:
2024-07-22 20:09:16 +03:00
parent a54200c5e5
commit 1ab3f678b7
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ function noTemplate(schema, record) {
record?.data[schema.fields.filter((f) => f.info.name === "text")[0]?.name]
).slice(0, 300);
if(title == ""){
return "Untitled";
if(title.trim() == ""){
return "~Untitled~";
}
return title;