lots
This commit is contained in:
@@ -2,7 +2,7 @@ import Mustache from "mustache";
|
||||
import {stripHtml} from "../../helpers";
|
||||
|
||||
export function previewTitle(schemas, record, graph) {
|
||||
let schema = schemas.find((aschema) => aschema.name === record?._sys.schema);
|
||||
let schema = schemas.find((aschema) => aschema.name === record?.schema);
|
||||
|
||||
if (!schema?.titleTemplate) {
|
||||
return noTemplate(schema, record);
|
||||
|
||||
Reference in New Issue
Block a user