(connection: IntegrationConnection)
| 223 | }; |
| 224 | |
| 225 | const handleManualReconnect = (connection: IntegrationConnection) => { |
| 226 | const provider = providers.find((item) => item.id === connection.provider); |
| 227 | if (!provider) { |
| 228 | toast({ |
| 229 | title: 'Provider unavailable', |
| 230 | description: 'The provider is no longer configured.', |
| 231 | variant: 'destructive', |
| 232 | }); |
| 233 | return; |
| 234 | } |
| 235 | handleConnect(provider); |
| 236 | }; |
| 237 | |
| 238 | const handleProviderConfigCompleted = ( |
| 239 | action: 'saved' | 'deleted', |
no test coverage detected