diff --git a/internal_packages/notifications/lib/headers/connection-status-header.jsx b/internal_packages/notifications/lib/headers/connection-status-header.jsx index b612036cd..c6b915f6d 100644 --- a/internal_packages/notifications/lib/headers/connection-status-header.jsx +++ b/internal_packages/notifications/lib/headers/connection-status-header.jsx @@ -1,4 +1,9 @@ -import {NylasSyncStatusStore, React, Actions} from 'nylas-exports'; +import { + NylasAPI, + NylasSyncStatusStore, + React, + Actions, +} from 'nylas-exports'; import {RetinaImg} from 'nylas-component-kit'; export default class ConnectionStatusHeader extends React.Component { @@ -81,6 +86,8 @@ export default class ConnectionStatusHeader extends React.Component { return (); } + const apiDomain = NylasAPI.APIRoot.split('//').pop(); + return (
@@ -89,7 +96,7 @@ export default class ConnectionStatusHeader extends React.Component { name="icon-alert-onred.png" mode={RetinaImg.Mode.ContentPreserve} />
- Nylas N1 isn't able to reach api.nylas.com. Retrying {nextRetryText}. + Nylas N1 isn't able to reach {apiDomain}. Retrying {nextRetryText}.
Try Again Now