show 404 instance not found screen
@@ -79,11 +79,16 @@ export default class Configuration extends Component {
instance, ls, match,
} = this.props
- if (!instance) return (
+ if (!instance) {
+ const title = (
+ <h1><b>404</b> instance not found</h1>
+ )
+ return (
<Card>
- <CardHeader title="loading instance..." />
+ <CardHeader title={title} />
</Card>
)
+ }
const { id } = match && match.params
const { name, host } = instance
