mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-23 06:24:26 +08:00

* feat: old logs explorer is now deprecated * chore: logs to trace is updated * chore: min and max time is added * chore: new explorer cta button is updated
37 lines
808 B
TypeScript
37 lines
808 B
TypeScript
import { Col, Row, Space } from 'antd';
|
|
import NewExplorerCTA from 'container/NewExplorerCTA';
|
|
|
|
import ShowBreadcrumbs from '../TopNav/Breadcrumbs';
|
|
import DateTimeSelector from '../TopNav/DateTimeSelection';
|
|
import { Container } from './styles';
|
|
import { LocalTopNavProps } from './types';
|
|
|
|
function LocalTopNav({
|
|
actions,
|
|
renderPermissions,
|
|
}: LocalTopNavProps): JSX.Element | null {
|
|
return (
|
|
<Container>
|
|
<Col span={16}>
|
|
<ShowBreadcrumbs />
|
|
</Col>
|
|
|
|
<Col span={8}>
|
|
<Row justify="end">
|
|
<Space align="start" size={30} direction="horizontal">
|
|
<NewExplorerCTA />
|
|
{actions}
|
|
{renderPermissions?.isDateTimeEnabled && (
|
|
<div>
|
|
<DateTimeSelector />
|
|
</div>
|
|
)}
|
|
</Space>
|
|
</Row>
|
|
</Col>
|
|
</Container>
|
|
);
|
|
}
|
|
|
|
export default LocalTopNav;
|