diff options
author | bobzel <zzzman@gmail.com> | 2024-10-01 15:57:57 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-01 15:57:57 -0400 |
commit | 8d7bf0588ca63c2d505a494865dcf9921eb1383d (patch) | |
tree | 7ecfb7535513a03e9dca5271d5053f47bd87c038 /src/client/util/DropConverter.ts | |
parent | fe3c2d841b8c112f7f22ac9f7209d46b0c6b9669 (diff) |
more lint fixes
Diffstat (limited to 'src/client/util/DropConverter.ts')
-rw-r--r-- | src/client/util/DropConverter.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DropConverter.ts b/src/client/util/DropConverter.ts index 71cdaa58b..b5d29be4c 100644 --- a/src/client/util/DropConverter.ts +++ b/src/client/util/DropConverter.ts @@ -67,7 +67,7 @@ export function MakeTemplate(doc: Doc) { /** * Makes a draggable button or image that will create a template doc Instance */ -export function makeUserTemplateButtonOrImage(doc: Doc, image: string | undefined) { +export function makeUserTemplateButtonOrImage(doc: Doc, image?: string) { const layoutDoc = doc; // doc.layout instanceof Doc && doc.layout.isTemplateForField ? doc.layout : doc; if (layoutDoc.type !== DocumentType.FONTICON) { !layoutDoc.isTemplateDoc && makeTemplate(layoutDoc); |