Add icon column to document (#7066)

* Add icon column to document

* Backfill columns

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
Hemachandar
2024-06-21 18:56:20 +05:30
committed by GitHub
parent b6d178943a
commit 4897f001e4
10 changed files with 119 additions and 0 deletions

View File

@@ -97,6 +97,8 @@ export default async function documentCreator({
sourceMetadata,
fullWidth: templateDocument ? templateDocument.fullWidth : fullWidth,
emoji: templateDocument ? templateDocument.emoji : emoji,
icon: templateDocument ? templateDocument.emoji : emoji,
color: templateDocument ? templateDocument.color : null,
title: TextHelper.replaceTemplateVariables(
templateDocument ? templateDocument.title : title,
user