File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/webviews/webview-side/integrations Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ function getInitialValues(existingConfig: SnowflakeIntegrationConfig | null) {
3131 }
3232
3333 // Type narrowing based on authMethod
34+ // Note: existingConfig can have authMethod === null (legacy configs from backend)
3435 if ( existingConfig . authMethod === null || existingConfig . authMethod === SnowflakeAuthMethods . PASSWORD ) {
3536 return {
3637 username : existingConfig . username || '' ,
@@ -219,7 +220,7 @@ export const SnowflakeForm: React.FC<ISnowflakeFormProps> = ({
219220 </ div >
220221
221222 { ! isUnsupported &&
222- ( authMethod === null || authMethod === SnowflakeAuthMethods . PASSWORD ? (
223+ ( authMethod === SnowflakeAuthMethods . PASSWORD ? (
223224 < >
224225 < div className = "form-group" >
225226 < label htmlFor = "username" >
You can’t perform that action at this time.
0 commit comments