From 871e9b123edfd60628949a1ae93336a9bf38bf99 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Mon, 2 Nov 2020 22:46:31 +0000 Subject: [PATCH] Some further work, logout and preview appear to be working much better now. --- packages/builder/cypress/support/cookies.js | 2 +- .../builder/src/pages/[application]/_reset.svelte | 3 ++- packages/client/tests/testAppDef.js | 2 +- .../server/src/api/routes/tests/couchTestUtils.js | 4 ++-- packages/server/src/utilities/index.js | 4 ++-- packages/standard-components/src/Navigation.svelte | 11 ++++++++--- 6 files changed, 16 insertions(+), 10 deletions(-) diff --git a/packages/builder/cypress/support/cookies.js b/packages/builder/cypress/support/cookies.js index 1c172f4d4c..1245f84960 100644 --- a/packages/builder/cypress/support/cookies.js +++ b/packages/builder/cypress/support/cookies.js @@ -1,3 +1,3 @@ Cypress.Cookies.defaults({ - preserve: "builder:token", + preserve: "budibase:builder:local", }) diff --git a/packages/builder/src/pages/[application]/_reset.svelte b/packages/builder/src/pages/[application]/_reset.svelte index d1d682d0b9..06942e03c8 100644 --- a/packages/builder/src/pages/[application]/_reset.svelte +++ b/packages/builder/src/pages/[application]/_reset.svelte @@ -84,7 +84,8 @@