@@ -174,8 +174,8 @@ export class IntegrationWebviewProvider implements IIntegrationWebviewProvider {
174174 const integrationsData = Array . from ( this . integrations . entries ( ) ) . map ( ( [ id , integration ] ) => ( {
175175 config : integration . config ,
176176 id,
177- projectName : integration . projectName ,
178- projectType : integration . projectType ,
177+ integrationName : integration . integrationName ,
178+ integrationType : integration . integrationType ,
179179 status : integration . status
180180 } ) ) ;
181181 logger . debug ( `IntegrationWebviewProvider: Sending ${ integrationsData . length } integrations to webview` ) ;
@@ -225,8 +225,8 @@ export class IntegrationWebviewProvider implements IIntegrationWebviewProvider {
225225 await this . currentPanel ?. webview . postMessage ( {
226226 config : integration . config ,
227227 integrationId,
228- projectName : integration . projectName ,
229- projectType : integration . projectType ,
228+ integrationName : integration . integrationName ,
229+ integrationType : integration . integrationType ,
230230 type : 'showForm'
231231 } ) ;
232232 }
@@ -313,8 +313,8 @@ export class IntegrationWebviewProvider implements IIntegrationWebviewProvider {
313313 // Build the integrations list from current integrations
314314 const projectIntegrations = Array . from ( this . integrations . entries ( ) )
315315 . map ( ( [ id , integration ] ) => {
316- // Get the integration type from config or project metadata
317- const type = integration . config ?. type || integration . projectType ;
316+ // Get the integration type from config or integration metadata
317+ const type = integration . config ?. type || integration . integrationType ;
318318 if ( ! type ) {
319319 logger . warn ( `IntegrationWebviewProvider: No type found for integration ${ id } , skipping` ) ;
320320 return null ;
@@ -329,7 +329,7 @@ export class IntegrationWebviewProvider implements IIntegrationWebviewProvider {
329329
330330 return {
331331 id,
332- name : integration . config ?. name || integration . projectName || id ,
332+ name : integration . config ?. name || integration . integrationName || id ,
333333 type : deepnoteType
334334 } ;
335335 } )
0 commit comments