File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed
src/ui/layouts/secrets/UpdateSecret/UpdateConfig Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -132,22 +132,22 @@ export const UpdateConfig: React.FC<{
132132 } ) ,
133133 ) ;
134134 }
135- if ( ! key && ! value ) {
136- return dispatch (
137- showToasterAction ( {
138- description : 'Key and value cannot be Empty.' ,
139- type : toasterTypes . failure ,
140- } ) ,
141- ) ;
142- }
143- if ( ! value && key ) {
144- return dispatch (
145- showToasterAction ( {
146- description : 'Value cannot be Empty.' ,
147- type : toasterTypes . failure ,
148- } ) ,
149- ) ;
150- }
135+ // if (!key && !value) {
136+ // return dispatch(
137+ // showToasterAction({
138+ // description: 'Key and value cannot be Empty.',
139+ // type: toasterTypes.failure,
140+ // }),
141+ // );
142+ // }
143+ // if (!value && key) {
144+ // return dispatch(
145+ // showToasterAction({
146+ // description: 'Value cannot be Empty.',
147+ // type: toasterTypes.failure,
148+ // }),
149+ // );
150+ // }
151151 }
152152 // }
153153
@@ -263,7 +263,9 @@ export const UpdateConfig: React.FC<{
263263 } }
264264 >
265265 < Box marginBottom = "lg" >
266- < PrimaryButton onClick = { ( ) => onSubmit ( ) } style = { { width : '179px' } } > Save Changes</ PrimaryButton >
266+ < PrimaryButton onClick = { ( ) => onSubmit ( ) } style = { { width : '179px' } } >
267+ Save Changes
268+ </ PrimaryButton >
267269 </ Box >
268270 </ FlexBox >
269271 </ FlexBox . Column >
You can’t perform that action at this time.
0 commit comments