{"action":"created","issue":{"url":"https://api.github.com/repos/18F/federalist/issues/671","repository_url":"https://api.github.com/repos/18F/federalist","labels_url":"https://api.github.com/repos/18F/federalist/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/18F/federalist/issues/671/comments","events_url":"https://api.github.com/repos/18F/federalist/issues/671/events","html_url":"https://github.com/18F/federalist/issues/671","id":194193006,"number":671,"title":"Site container redirects to site list when refreshed","user":{"login":"jmhooper","id":963654,"avatar_url":"https://avatars.githubusercontent.com/u/963654?v=3","gravatar_id":"","url":"https://api.github.com/users/jmhooper","html_url":"https://github.com/jmhooper","followers_url":"https://api.github.com/users/jmhooper/followers","following_url":"https://api.github.com/users/jmhooper/following{/other_user}","gists_url":"https://api.github.com/users/jmhooper/gists{/gist_id}","starred_url":"https://api.github.com/users/jmhooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmhooper/subscriptions","organizations_url":"https://api.github.com/users/jmhooper/orgs","repos_url":"https://api.github.com/users/jmhooper/repos","events_url":"https://api.github.com/users/jmhooper/events{/privacy}","received_events_url":"https://api.github.com/users/jmhooper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jmhooper","id":963654,"avatar_url":"https://avatars.githubusercontent.com/u/963654?v=3","gravatar_id":"","url":"https://api.github.com/users/jmhooper","html_url":"https://github.com/jmhooper","followers_url":"https://api.github.com/users/jmhooper/followers","following_url":"https://api.github.com/users/jmhooper/following{/other_user}","gists_url":"https://api.github.com/users/jmhooper/gists{/gist_id}","starred_url":"https://api.github.com/users/jmhooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmhooper/subscriptions","organizations_url":"https://api.github.com/users/jmhooper/orgs","repos_url":"https://api.github.com/users/jmhooper/repos","events_url":"https://api.github.com/users/jmhooper/events{/privacy}","received_events_url":"https://api.github.com/users/jmhooper/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmhooper","id":963654,"avatar_url":"https://avatars.githubusercontent.com/u/963654?v=3","gravatar_id":"","url":"https://api.github.com/users/jmhooper","html_url":"https://github.com/jmhooper","followers_url":"https://api.github.com/users/jmhooper/followers","following_url":"https://api.github.com/users/jmhooper/following{/other_user}","gists_url":"https://api.github.com/users/jmhooper/gists{/gist_id}","starred_url":"https://api.github.com/users/jmhooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmhooper/subscriptions","organizations_url":"https://api.github.com/users/jmhooper/orgs","repos_url":"https://api.github.com/users/jmhooper/repos","events_url":"https://api.github.com/users/jmhooper/events{/privacy}","received_events_url":"https://api.github.com/users/jmhooper/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-12-07T22:38:53Z","updated_at":"2016-12-08T21:06:12Z","closed_at":null,"body":"When the site container is refreshed, it redirects to the site list. This is because it is rendered before the `siteActions.fetchSites` action resolves triggering the `SITES_RECEIVED` action. Because of that it is rendered without site data and redirects to `/sites`.\r\n\r\nWe should build out the `SiteContainer` component so that it waits for site data before deciding whether it should render data or redirect."},"comment":{"url":"https://api.github.com/repos/18F/federalist/issues/comments/265855445","html_url":"https://github.com/18F/federalist/issues/671#issuecomment-265855445","issue_url":"https://api.github.com/repos/18F/federalist/issues/671","id":265855445,"user":{"login":"jmhooper","id":963654,"avatar_url":"https://avatars.githubusercontent.com/u/963654?v=3","gravatar_id":"","url":"https://api.github.com/users/jmhooper","html_url":"https://github.com/jmhooper","followers_url":"https://api.github.com/users/jmhooper/followers","following_url":"https://api.github.com/users/jmhooper/following{/other_user}","gists_url":"https://api.github.com/users/jmhooper/gists{/gist_id}","starred_url":"https://api.github.com/users/jmhooper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmhooper/subscriptions","organizations_url":"https://api.github.com/users/jmhooper/orgs","repos_url":"https://api.github.com/users/jmhooper/repos","events_url":"https://api.github.com/users/jmhooper/events{/privacy}","received_events_url":"https://api.github.com/users/jmhooper/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T21:06:12Z","updated_at":"2016-12-08T21:06:12Z","body":"If you got to a site and select any of the links in the sidebar then refresh, instead of refreshing the page it redirects you to the site list. So you refresh and then wind up on a totally different page.\r\n\r\nThis did not happen in the past because of a bug, the fix for which was recently merged."}}
{"actor":{"display_login":"jmhooper"}}