Skip to content

Commit 745736a

Browse files
committed
feat: make namespaceId optional in DRuntimeListProps interface
1 parent 225dd80 commit 745736a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/d-runtime/DRuntimeList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import CardSection from "../card/CardSection";
88
import {DRuntimeContent} from "./DRuntimeContent";
99

1010
export interface DRuntimeListProps extends Omit<Card, "children" | "onSelect"> {
11-
namespaceId: Namespace["id"]
11+
namespaceId?: Namespace["id"]
1212
filter?: (runtime: DRuntimeView, index: number) => boolean
1313
onSelect?: (runtime: DRuntimeView) => void
1414
onSetting?: (runtime: DRuntimeView) => void

0 commit comments

Comments
 (0)