From ff6e46e3a8de2f72dd21f800fbfcd6f93a89a340 Mon Sep 17 00:00:00 2001 From: AnuGayan Date: Mon, 1 Apr 2024 13:12:20 +0530 Subject: [PATCH] Fix multiple issues in Devportal and Publisher Fix: https://github.com/wso2/api-manager/issues/2768 --- .../source/src/app/components/Shared/AppsAndKeys/Tokens.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/portals/devportal/src/main/webapp/source/src/app/components/Shared/AppsAndKeys/Tokens.jsx b/portals/devportal/src/main/webapp/source/src/app/components/Shared/AppsAndKeys/Tokens.jsx index 17f397fa88b..d532a68d1fc 100755 --- a/portals/devportal/src/main/webapp/source/src/app/components/Shared/AppsAndKeys/Tokens.jsx +++ b/portals/devportal/src/main/webapp/source/src/app/components/Shared/AppsAndKeys/Tokens.jsx @@ -118,6 +118,7 @@ const tokens = (props) => { name='scopesSelected' options={subscriptionScopes} noOptionsText='No scopes available' + disabled={subscriptionScopes.length === 0} disableCloseOnSelect value={accessTokenRequest.scopesSelected} onChange={(e, newValue) => handleChange('scopesSelected', { target: { value: newValue } })}