mario-core 2.9.10-beta → 2.9.11-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -284,7 +284,9 @@ var apiUpload = axios.create({
284
284
  return response;
285
285
  }, function (error) {
286
286
  if (error.response.status === 401) {
287
- localStorage.clear();
287
+ Object.keys(localStorage).forEach(function (key) {
288
+ if (!key.includes('learning-plan')) delete localStorage[key];
289
+ });
288
290
  window.location.href = "/login";
289
291
  }
290
292