diff --git a/apps/mobile/src/components/Announcements/functions.js b/apps/mobile/src/components/Announcements/functions.js index a02ed7f68..27d0a86df 100644 --- a/apps/mobile/src/components/Announcements/functions.js +++ b/apps/mobile/src/components/Announcements/functions.js @@ -11,6 +11,7 @@ import {SubHeading} from './subheading'; import {Title} from './title'; export function allowedOnPlatform(platforms) { + if (!platforms) return true; return platforms.some(platform => allowedPlatforms.indexOf(platform) > -1); }