diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index df015977d..abdb7549f 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -28,7 +28,7 @@ function initPermissionRequest() { const apiClient = ServerConnections.currentApiClient(); if (apiClient) { apiClient.getCurrentUser() - .then(user => user && registerOneDocumentClickHandler()) + .then(user => registerOneDocumentClickHandler()) .catch(() => { Events.on(ServerConnections, 'localusersignedin', registerOneDocumentClickHandler); });