<Button variant="contained" color="primary" style={{ margin: "1em" }} className={classes.button}
onClick={() => dispatch(login(uuidPrefix, homeCluster, loginCluster, remoteHosts))}>
Log in to {uuidPrefix}
- {uuidPrefix !== homeCluster &&
+ {uuidPrefix !== homeCluster && loginCluster !== homeCluster &&
<span> with user from {homeCluster}</span>}
</Button>
</Typography>