mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix: export highlight in yellow in notion if color is null
This commit is contained in:
parent
e3955fa4b9
commit
4e388de7ed
1 changed files with 3 additions and 1 deletions
|
|
@ -277,7 +277,9 @@ export class NotionClient implements IntegrationClient {
|
|||
},
|
||||
annotations: {
|
||||
code: true,
|
||||
color: highlight.color as AnnotationColor,
|
||||
color: highlight.color
|
||||
? (highlight.color as AnnotationColor)
|
||||
: 'yellow',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue