Update template-workspace-edit.element.ts

This commit is contained in:
Julia Gru
2023-05-24 11:58:38 +02:00
parent 7bc38bf20d
commit 969007d9b3

View File

@@ -87,6 +87,8 @@ export class UmbTemplateWorkspaceEditElement extends UmbLitElement {
const match = RegexString.exec(this._content ?? '');
if (match) {
if (match[2] === 'null') return null;
return match[2].replace(/"/g, '');
}