File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,11 @@ export const App = () => {
145
145
return isEqual ( currentParameterOmitValue , existingParameterOmitValue ) ;
146
146
} ) ;
147
147
148
- return existing ?? p ;
148
+ if ( existing ) {
149
+ existing . value = p . value ;
150
+ return existing ;
151
+ }
152
+ return p ;
149
153
} ) ;
150
154
} ) ;
151
155
} , [ output ] ) ;
Original file line number Diff line number Diff line change @@ -733,6 +733,7 @@ const TableDrawer: FC<TableDrawerProps> = ({
733
733
734
734
type ViewOutputProps = {
735
735
parameters : ParameterWithSource [ ] ;
736
+ // parameterValues: Record<string, string>;
736
737
} ;
737
738
const ViewOutput : FC < ViewOutputProps > = ( { parameters } ) => {
738
739
const [ isOpen , setIsOpen ] = useState ( ( ) => false ) ;
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export const switchInput = `data "coder_parameter" "switch" {
91
91
description = "The next parameter can be on or off"
92
92
type = "bool"
93
93
form_type = "switch"
94
- defalt = true
94
+ default = true
95
95
order = 1
96
96
}`
97
97
You can’t perform that action at this time.
0 commit comments