feat: Unified icon picker (#7038)
This commit is contained in:
@@ -944,6 +944,8 @@ router.post(
|
||||
createdById: user.id,
|
||||
template: true,
|
||||
emoji: original.emoji,
|
||||
icon: original.icon,
|
||||
color: original.color,
|
||||
title: original.title,
|
||||
text: original.text,
|
||||
content: original.content,
|
||||
@@ -1041,6 +1043,7 @@ router.post(
|
||||
document,
|
||||
user,
|
||||
...input,
|
||||
icon: input.icon ?? input.emoji,
|
||||
publish,
|
||||
collectionId,
|
||||
insightsEnabled,
|
||||
@@ -1382,6 +1385,8 @@ router.post(
|
||||
title,
|
||||
text,
|
||||
emoji,
|
||||
icon,
|
||||
color,
|
||||
publish,
|
||||
collectionId,
|
||||
parentDocumentId,
|
||||
@@ -1445,7 +1450,8 @@ router.post(
|
||||
const document = await documentCreator({
|
||||
title,
|
||||
text,
|
||||
emoji,
|
||||
icon: icon ?? emoji,
|
||||
color,
|
||||
createdAt,
|
||||
publish,
|
||||
collectionId: collection?.id,
|
||||
|
||||
Reference in New Issue
Block a user