fix(ui): correct OAuth setup page links in integrations dashboard

The oauthLink() function in integrations_dashboard.html returned
/dropbox, /google-drive, /onedrive which are not valid routes
(404). The actual view routes are /dropbox-setup,
/google-drive-setup, /onedrive-setup.

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-08 18:21:52 +00:00
parent dd3002d2c8
commit ba387b8e8b
2 changed files with 16 additions and 3 deletions
@@ -840,9 +840,9 @@ function integrationsDashboard() {
hasFormFields(t) { return TYPES_WITH_FORM_FIELDS.has(t); },
oauthLink(t) {
if (t === 'DROPBOX') return '/dropbox';
if (t === 'GOOGLE_DRIVE') return '/google-drive';
if (t === 'ONEDRIVE') return '/onedrive';
if (t === 'DROPBOX') return '/dropbox-setup';
if (t === 'GOOGLE_DRIVE') return '/google-drive-setup';
if (t === 'ONEDRIVE') return '/onedrive-setup';
return '#';
},