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: filter announcement cta platforms correctly
thecodrr00ae29bd18a5
diff --git a/apps/web/src/components/announcements/index.js b/apps/web/src/components/announcements/index.jsindex 60e685d4a..4787360fb 100644--- a/apps/web/src/components/announcements/index.js+++ b/apps/web/src/components/announcements/index.js@@ -54,7 +54,7 @@ function Announcements({ announcements, removeAnnouncement }) {)}<Flex justifyContent="space-evenly" mt={1}>{announcement.callToActions- ?.filter((platform) => allowedPlatforms.indexOf(platform) > -1)+ ?.filter((cta) => allowedPlatforms.indexOf(cta.platform) > -1).map((action, index) => (<Buttonflex={1}