diff --git a/webapp/src/components/messages/cloudMessage.tsx b/webapp/src/components/messages/cloudMessage.tsx index d850686ed..e4ffe589f 100644 --- a/webapp/src/components/messages/cloudMessage.tsx +++ b/webapp/src/components/messages/cloudMessage.tsx @@ -19,7 +19,7 @@ import CompassIcon from '../../widgets/icons/compassIcon' import TelemetryClient, {TelemetryCategory, TelemetryActions} from '../../telemetry/telemetryClient' import './cloudMessage.scss' -const signupURL = 'http://mattermost.com/pricing' +const signupURL = 'https://mattermost.com/pricing' const displayAfter = (1000 * 60 * 60 * 24) //24 hours const CloudMessage = React.memo(() => { @@ -48,9 +48,13 @@ const CloudMessage = React.memo(() => { } } + if (Utils.isFocalboardPlugin() || cloudMessageCanceled) { + return null + } + if (me) { const installTime = Date.now() - me.create_at - if (Utils.isFocalboardPlugin() || cloudMessageCanceled || installTime < displayAfter) { + if (installTime < displayAfter) { return null } } diff --git a/webapp/src/pages/boardPage/boardPage.tsx b/webapp/src/pages/boardPage/boardPage.tsx index a327839a6..198c68604 100644 --- a/webapp/src/pages/boardPage/boardPage.tsx +++ b/webapp/src/pages/boardPage/boardPage.tsx @@ -60,7 +60,6 @@ const BoardPage = (props: Props): JSX.Element => { if (!me) { return } - dispatch(fetchUserBlockSubscriptions(me!.id)) }, [me?.id]) }