feat: Unified icon picker (#7038)
This commit is contained in:
@@ -79,9 +79,9 @@ export default class ImportJSONTask extends ImportTask {
|
||||
// TODO: This is kind of temporary, we can import the document
|
||||
// structure directly in the future.
|
||||
text: serializer.serialize(Node.fromJSON(schema, node.data)),
|
||||
emoji: node.emoji,
|
||||
icon: node.emoji,
|
||||
color: null,
|
||||
emoji: node.icon ?? node.emoji,
|
||||
icon: node.icon ?? node.emoji,
|
||||
color: node.color,
|
||||
createdAt: node.createdAt ? new Date(node.createdAt) : undefined,
|
||||
updatedAt: node.updatedAt ? new Date(node.updatedAt) : undefined,
|
||||
publishedAt: node.publishedAt ? new Date(node.publishedAt) : null,
|
||||
|
||||
Reference in New Issue
Block a user