Skip to content

Commit d611c33

Browse files
committed
fix(blocks): keep vertexCredential subblock ID stable to preserve saved workflow state
1 parent 2e32ee9 commit d611c33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/sim/blocks/utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,10 @@ export function getApiKeyCondition() {
168168
export function getProviderCredentialSubBlocks(): SubBlockConfig[] {
169169
return [
170170
{
171-
id: 'vertexOauthCredential',
171+
id: 'vertexCredential',
172172
title: 'Google Cloud Account',
173173
type: 'oauth-input',
174174
serviceId: 'vertex-ai',
175-
canonicalParamId: 'vertexCredential',
176175
mode: 'basic',
177176
requiredScopes: getScopesForService('vertex-ai'),
178177
placeholder: 'Select Google Cloud account',

0 commit comments

Comments
 (0)