Skip to content
Snippets Groups Projects
Commit 1844ef8f authored by Todd Dembrey's avatar Todd Dembrey
Browse files

GH-1016: Show loading panel while data incoming

parent a7918bde
No related branches found
No related tags found
No related merge requests found
......@@ -2,12 +2,17 @@ import React from 'react'
import PropTypes from 'prop-types'
import { connect } from 'react-redux'
import LoadingPanel from '@components/LoadingPanel'
import ReviewBlock, { Review, AssignedToReview, Opinion } from '@components/ReviewBlock'
import { getSubmissionOfID } from '@selectors/submissions'
const ReviewInformation = ({ data }) => {
if (data === undefined) {
return <LoadingPanel />
}
const staff = [];
const nonStaff = [];
Object.values(data.assigned).map(key => key.isStaff ? staff.push(key) : nonStaff.push(key))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment