From 038e5313b2d3586c349cc6560cd20ecb8a9d1c1e Mon Sep 17 00:00:00 2001 From: Savindu Dimal Date: Wed, 9 Oct 2024 14:59:42 +0530 Subject: [PATCH] Fix minor UI issues Remove required tag from token input fields Change info icon color --- .../src/app/components/Throttling/Subscription/AddEdit.jsx | 3 --- .../Details/Subscriptions/SubscriptionPoliciesManage.jsx | 7 +++++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/portals/admin/src/main/webapp/source/src/app/components/Throttling/Subscription/AddEdit.jsx b/portals/admin/src/main/webapp/source/src/app/components/Throttling/Subscription/AddEdit.jsx index b79e3a153e4..29e0cd5831b 100644 --- a/portals/admin/src/main/webapp/source/src/app/components/Throttling/Subscription/AddEdit.jsx +++ b/portals/admin/src/main/webapp/source/src/app/components/Throttling/Subscription/AddEdit.jsx @@ -967,7 +967,6 @@ function AddEdit(props) { value={totalTokenCount} type='number' onChange={onChange} - required InputProps={{ id: 'totalTokenCount', onBlur: ({ target: { value } }) => { @@ -1000,7 +999,6 @@ function AddEdit(props) { value={promptTokenCount} type='number' onChange={onChange} - required InputProps={{ id: 'promptTokenCount', onBlur: ({ target: { value } }) => { @@ -1033,7 +1031,6 @@ function AddEdit(props) { value={completionTokenCount} type='number' onChange={onChange} - required InputProps={{ id: 'completionTokenCount', onBlur: ({ target: { value } }) => { diff --git a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Subscriptions/SubscriptionPoliciesManage.jsx b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Subscriptions/SubscriptionPoliciesManage.jsx index de3337eb9eb..8e073efc604 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Subscriptions/SubscriptionPoliciesManage.jsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/Apis/Details/Subscriptions/SubscriptionPoliciesManage.jsx @@ -237,8 +237,11 @@ class SubscriptionPoliciesManage extends Component { label={
{value[1].displayName + ' : ' + value[1].description} - - + +
}