-
-
+
+
+
+
)}
placement='right-end'
+ className={classes.paddingTooltip}
interactive
>
-
+
-
+
@@ -865,11 +932,13 @@ function AddEdit(props) {
{monetizationPlan === 'FIXEDRATE' && (
-
-
+
+
+
+
)}
placement='right-end'
+ className={classes.paddingTooltip}
interactive
>
-
+
-
+
-
-
+
+
+
+
)}
placement='right-end'
+ className={classes.paddingTooltip}
interactive
>
-
+
-
+
-
+
+
+
- {/* Custom Attributes */}
+
+
+
+
+
+
+ {/* Custom Attributes */}
+
@@ -1017,23 +1099,29 @@ function AddEdit(props) {
defaultMessage='Custom Attributes'
/>
+
+
+
-
+
+
+
-
-
-
-
+
+
@@ -1047,7 +1135,7 @@ function AddEdit(props) {
name='name'
label={intl.formatMessage({
id: `Throttling.Subscription.Properties.Properties.
- show.add.property.property.name`,
+ show.add.property.property.name`,
defaultMessage: 'Name',
})}
margin='dense'
@@ -1097,7 +1185,14 @@ function AddEdit(props) {
- {/* Permissions */}
+
+
+
+
+
+
+ {/* Permissions */}
+
@@ -1106,18 +1201,18 @@ function AddEdit(props) {
defaultMessage='Permissions'
/>
+
+
+
+
+
-
-
-
-
-
{permissionStatus === 'allow' ? (
+
+
+ )}
fullWidth
multiline
helperText={intl.formatMessage({
@@ -1156,22 +1258,26 @@ function AddEdit(props) {
)}
-
-
-
-
- } label='Allow' />
- } label='Deny' />
-
-
+
+
+ } label='Allow' />
+ } label='Deny' />
+
- {/* GraphQL */}
+
+
+
+
+
+
+ {/* GraphQL */}
+
@@ -1180,18 +1286,19 @@ function AddEdit(props) {
defaultMessage='GraphQL'
/>
+
+
+
+
+
-
-
-
-
-
+
+
+ )}
fullWidth
variant='outlined'
/>
-
-
-
-
-
+
+
+ )}
fullWidth
variant='outlined'
/>
diff --git a/features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Throttling/Subscription/List.jsx b/features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Throttling/Subscription/List.jsx
index 8df4d012e0c8..6d6c0784de59 100644
--- a/features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Throttling/Subscription/List.jsx
+++ b/features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Throttling/Subscription/List.jsx
@@ -263,10 +263,7 @@ export default function ListSubscriptionThrottlingPolicies() {
});
subscriptionThrottlingvalues = subscriptionPolicies
- .filter((policy) => policy.policyName !== 'Unlimited')
- .map((obj) => {
- return Object.values(obj);
- });
+ .map(Object.values);
return (subscriptionThrottlingvalues);
}).catch((error) => {
const { response } = error;