We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff13ff commit 306a2e7Copy full SHA for 306a2e7
1 file changed
resources/js/components/SessionExpiry.vue
@@ -300,6 +300,12 @@ export default {
300
this.$toast.success(__('Logged in'));
301
this.restartCountdown();
302
this.updateCsrfToken();
303
+ this.restoreSelectedSite();
304
+ },
305
+
306
+ restoreSelectedSite() {
307
+ const site = Statamic.$config.get('selectedSite');
308
+ if (site) this.$axios.get(cp_url(`select-site/${site}`));
309
},
310
311
};
0 commit comments