{
return this.renderMissingDataState();
} else if (this.props.instanceLoadError) {
return ;
+ } else if (
+ this.props.graph &&
+ this.props.instanceName &&
+ this.props.graph.nodes.map(n => n.id).indexOf(this.props.instanceName) < 0
+ ) {
+ return this.renderQuietInstanceState();
}
return (
@@ -299,6 +305,16 @@ class SidebarImpl extends React.Component {
);
};
+ private renderQuietInstanceState = () => {
+ return (
+
+ );
+ };
+
private openInstanceLink = () => {
window.open("https://" + this.props.instanceName, "_blank");
};