A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: cta.platforms is an array
thecodrredc60c3ba892
diff --git a/apps/web/src/components/announcements/index.js b/apps/web/src/components/announcements/index.jsindex 4787360fb..a746061fe 100644--- a/apps/web/src/components/announcements/index.js+++ b/apps/web/src/components/announcements/index.js@@ -54,7 +54,11 @@ function Announcements({ announcements, removeAnnouncement }) {)}<Flex justifyContent="space-evenly" mt={1}>{announcement.callToActions- ?.filter((cta) => allowedPlatforms.indexOf(cta.platform) > -1)+ ?.filter((cta) =>+ cta.platforms.some(+ (platform) => allowedPlatforms.indexOf(platform) > -1+ )+ ).map((action, index) => (<Buttonflex={1}