Skip to content

Commit

Permalink
fix(ui): Add header and browser title to fullscreen logs viewer (#5419)
Browse files Browse the repository at this point in the history
Signed-off-by: Remington Breeze <remington@breeze.software>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
  • Loading branch information
rbreeze and jsoref authored Feb 5, 2021
1 parent 161d1d7 commit c936355
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
import * as React from 'react';
import Helmet from 'react-helmet';
import {RouteComponentProps} from 'react-router-dom';
import {PodLogsProps, PodsLogsViewer} from '../pod-logs-viewer/pod-logs-viewer';
import './application-fullscreen-logs.scss';

export const ApplicationFullscreenLogs = (props: RouteComponentProps<PodLogsProps>) => {
const title = `${props.match.params.podName}/${props.match.params.containerName}`;
return (
<div className='application-fullscreen-logs'>
<Helmet title={`${title} - Argo CD`} />
<h4 style={{fontSize: '18px', textAlign: 'center'}}>{title}</h4>
<PodsLogsViewer {...props.match.params} fullscreen={true} />
</div>
);
Expand Down

0 comments on commit c936355

Please sign in to comment.