fixed formatting
Signed-off-by: Daniele Mazzotta <daniele.mazzotta@tii.ae>
This commit is contained in:
@@ -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 || []} />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user