From 07e8ba24da8a50cd2adf217a6dcf16c6b89cebf5 Mon Sep 17 00:00:00 2001 From: Rebecca Le Date: Mon, 3 Feb 2025 17:47:09 +0800 Subject: [PATCH] fix: Fix package definition for OAuth to format links properly Clicking the OAuth package caused a JS error that would cause the installer command to stop populating --- assets/js/app.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 9016b19..4715ed2 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -204,8 +204,12 @@ const features = { oauth: { requires: ['phoenix'], adds: ['ash_authentication', 'ash_authentication_phoenix'], - link: "https://hexdocs.pm/ash_authentication", - linkName: "AshAuthentication", + links: [ + { + link: "https://hexdocs.pm/ash_authentication", + name: "AshAuthentication", + } + ], requiresSetup: { name: "OAuth", href: "https://hexdocs.pm/ash_authentication"