fixed formatting

Signed-off-by: Daniele Mazzotta <daniele.mazzotta@tii.ae>
This commit is contained in:
Daniele Mazzotta
2022-06-21 17:36:35 +04:00
parent 8b8c692be3
commit c8a502ce3e
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -5,8 +5,8 @@
```ts
/// <reference types="react" />
import {BackstagePlugin} from '@backstage/core-plugin-api';
import {RouteRef} from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { RouteRef } from '@backstage/core-plugin-api';
// @public
export const ApacheAirflowDagTable: ({
@@ -164,14 +164,12 @@ export const DagTableComponent = ({ dagIds }: DagTableComponentProps) => {
return (
<>
{dagsNotFound ? (
{dagsNotFound && (
<WarningPanel title={`${dagsNotFound.length} DAGs were not found`}>
{dagsNotFound.map(dagId => (
<Typography>{dagId}</Typography>
))}
</WarningPanel>
) : (
''
)}
<DenseTable dags={data || []} />
</>