add why no roles and landing pages

This commit is contained in:
Katalina / stardust 2017-12-31 13:01:21 -06:00
parent 309aee427e
commit 3d07efb5fa
24 changed files with 329 additions and 15 deletions

View file

@ -1,5 +1,6 @@
import React, { Component, Fragment } from 'react'
import { connect } from 'react-redux'
import { Prompt } from 'react-router-dom'
import superagent from 'superagent'
import * as Actions from './actions'
import * as UIActions from '../../actions/ui'
@ -100,6 +101,7 @@ class RolePicker extends Component {
}
return <div className={`inner role-picker ${(data.get('hidden')) ? 'hidden' : ''}`}>
<Prompt when={this.rolesHaveChanged} message="Are you sure you want to leave? You have unsaved changes that will be lost." />
{ this.renderServerMessage(server) }
<section>
<div className="role-picker__header">