Skip to content

Commit

Permalink
Keep the color of status bar blue even if the server is offline
Browse files Browse the repository at this point in the history
Signed-off-by: Ankush Tyagi <ankush.tyagi@ericsson.com>
  • Loading branch information
ankusht-work authored and bhufmann committed Jan 22, 2021
1 parent d5cc7a3 commit ed1ef00
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import '../style/trace-viewer.css';
import '../style/trace-context-style.css';
import '../style/output-components-style.css';
import '../style/trace-explorer.css';
import '../style/status-bar.css';
import { Layout, Responsive, WidthProvider } from 'react-grid-layout';
import { TimelineChart } from 'timeline-chart/lib/time-graph-model';
import { TimeGraphUnitController } from 'timeline-chart/lib/time-graph-unit-controller';
Expand Down
22 changes: 0 additions & 22 deletions packages/react-components/src/style/status-bar.css

This file was deleted.

2 changes: 0 additions & 2 deletions viewer-prototype/src/browser/trace-server-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,5 @@ export class TraceServerConnectionStatusContribution extends DefaultFrontendAppl
});

this.toDisposeOnOnline.push(Disposable.create(() => this.statusBar.removeElement(this.statusbarId)));
document.body.classList.add('traceserver-mod-offline');
this.toDisposeOnOnline.push(Disposable.create(() => document.body.classList.remove('traceserver-mod-offline')));
}
}

0 comments on commit ed1ef00

Please sign in to comment.