blob: b4a950fd51cea8a6b0524bcc4a5d4d5d1d9b8a88 [file]
import { AppView } from '../components/routes/app/AppView';
export const MiniTelemetry = (props: {
projectId: string;
partitionKey: string | null;
appId: string | undefined;
}) => {
//TODO -- put this upstream
const { projectId, appId, partitionKey } = props;
if (appId === undefined) {
return <div></div>;
}
return (
<AppView
projectId={projectId}
appId={appId}
orientation="stacked_vertical"
defaultAutoRefresh={true}
enableFullScreenStepView={false}
enableMinimizedStepView={false}
allowAnnotations={false}
partitionKey={partitionKey === 'null' ? null : partitionKey}
/>
);
};