@xatlas/rainbow-core 2.5.7 → 2.5.8

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.
@@ -2753,9 +2753,11 @@ function createStore(url) {
2753
2753
  authApps = _yield$api$get$data.authApps;
2754
2754
  app = _yield$api$get$data.app;
2755
2755
  commit('setResources', resources);
2756
- commit('setApp', app);
2757
- commit('setAuthApps', authApps);
2758
2756
  commit('setUser', user);
2757
+ commit('setApp', app);
2758
+ if (authApps && authApps.length > 0) {
2759
+ commit('setAuthApps', authApps);
2760
+ }
2759
2761
  _context.next = 20;
2760
2762
  break;
2761
2763
  case 17: