Skip to content

Commit

Permalink
FR-233 remove and update device implementation (#1567)
Browse files Browse the repository at this point in the history
* remove device implementation

* update stream form added
  • Loading branch information
soson authored Jun 21, 2024
1 parent 048c65b commit bc0f0a8
Show file tree
Hide file tree
Showing 9 changed files with 856 additions and 53 deletions.
63 changes: 63 additions & 0 deletions packages/frinx-inventory-client/src/__generated__/graphql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ const CreateStreamForm: VoidFunctionComponent<Props> = ({

<Grid templateColumns="repeat(3, 1fr)" gap={1.5}>
{blueprintParameters.map((key) => (
<GridItem>
<FormControl key={key} marginY={6} isRequired>
<GridItem key={key}>
<FormControl marginY={6} isRequired>
<FormLabel>{key}</FormLabel>
<Input
name={key}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const CreateStreamPage: FC<Props> = ({ onAddStreamSuccess }) => {
setIsSubmitting(true);
addStream({
input: {
blueprintId: values.blueprintId,
deviceName: values.deviceName,
streamName: values.streamName,
...(values.streamParameters && { streamParameters: values.streamParameters }),
Expand Down
Loading

0 comments on commit bc0f0a8

Please sign in to comment.