Skip to content

Commit

Permalink
Pre-fill auth url if not empty in Update App page (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin authored Nov 17, 2024
2 parents 0ec5de2 + 866547b commit 13b3f19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/lib/pages/apps/providers/add_app_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ class AddAppProvider extends ChangeNotifier {
webhookUrlController.text = app.externalIntegration!.webhookUrl;
setupCompletedController.text = app.externalIntegration!.setupCompletedUrl ?? '';
instructionsController.text = app.externalIntegration!.setupInstructionsFilePath;
if (app.externalIntegration!.authSteps.isNotEmpty) {
authUrlController.text = app.externalIntegration!.authSteps.first.url;
}
}
if (app.chatPrompt != null) {
chatPromptController.text = app.chatPrompt!.decodeString;
Expand Down

0 comments on commit 13b3f19

Please sign in to comment.