Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Fix incorrect loading state calculation in app page #1272

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

jonathaningram
Copy link
Contributor

The app page is nested under an org and a space.

Thus the loading flag should be set to true if any of the org, space or app are loading (plus if the quota is loading).

We want this because we don't want the AppContainer component to try and render anything that depends on the org, space or app if those objects are not yet loaded.

By the way, this is necessary as part of the upgrade to React 16.

@jcscottiii
Copy link
Contributor

thanks @jonathaningram !

@jcscottiii jcscottiii merged commit d872922 into cloud-gov:master Nov 6, 2017
@jonathaningram jonathaningram deleted the ji-fix-app-loading-state branch November 7, 2017 00:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants