mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
Merge pull request #1734 from weaveworks/no-logo-on-cloud
Dont show weavescope logo when running in a frame
This commit is contained in:
@@ -101,6 +101,7 @@ class App extends React.Component {
|
||||
render() {
|
||||
const { showingDetails, showingHelp, showingMetricsSelector, showingNetworkSelector,
|
||||
showingTerminal } = this.props;
|
||||
const isIframe = window !== window.top;
|
||||
|
||||
return (
|
||||
<div className="app">
|
||||
@@ -114,9 +115,9 @@ class App extends React.Component {
|
||||
|
||||
<div className="header">
|
||||
<div className="logo">
|
||||
<svg width="100%" height="100%" viewBox="0 0 1089 217">
|
||||
{!isIframe && <svg width="100%" height="100%" viewBox="0 0 1089 217">
|
||||
<Logo />
|
||||
</svg>
|
||||
</svg>}
|
||||
</div>
|
||||
<Search />
|
||||
<Topologies />
|
||||
|
||||
Reference in New Issue
Block a user