diff --git a/app/sync/index.js b/app/sync/index.js index b34d17f1f0..d8453043d9 100644 --- a/app/sync/index.js +++ b/app/sync/index.js @@ -59,7 +59,6 @@ export async function init () { setTimeout(pull, START_PULL_DELAY); setTimeout(pushActiveDirtyResources, START_PUSH_DELAY); - setInterval(pull, FULL_SYNC_INTERVAL); isInitialized = true; logger.debug('Initialized'); } @@ -75,9 +74,6 @@ export function doInitialSync () { // they already exist on the server. await pull(null, false); - // Make sure all other resources were created - await _getOrCreateAllActiveResources(); - // Make sure sync is on (start the timers) await init(); }); diff --git a/app/ui/components/modals/LoginModal.js b/app/ui/components/modals/LoginModal.js index edf05b5dfb..9b83173393 100644 --- a/app/ui/components/modals/LoginModal.js +++ b/app/ui/components/modals/LoginModal.js @@ -61,76 +61,79 @@ class LoginModal extends Component { render () { const {step, title, message} = this.state; + let inner; if (step === 1) { - return ( -
- ) + inner = [ +{message}
+ ) : null} + +- If you have any questions or concerns, send you email to - {" "} - - support@insomnia.rest - -
-+ If you have any questions or concerns, send you email to + {" "} + + support@insomnia.rest + +
+- Your free trial has ended. please enter your billing information to - continue using Insomnia Plus. + Your Insomnia Plus trial has ended. please enter your billing information to + continue using your account.
diff --git a/app/ui/components/modals/SettingsModal.js b/app/ui/components/modals/SettingsModal.js index 819f0f6bd1..2ab80428b1 100644 --- a/app/ui/components/modals/SettingsModal.js +++ b/app/ui/components/modals/SettingsModal.js @@ -50,7 +50,7 @@ class SettingsModal extends Component { trackEvent('Sync', 'Reset'); await sync.resetRemoteData(); await sync.resetLocalData(); - await session.logout(); + await sync.logout(); } render () {