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:
@@ -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 '#';
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user