logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.31k stars 406 forks source link

fix(console): fix the plan title for subscription plan selector #6348

Closed darcyYe closed 1 month ago

darcyYe commented 1 month ago

Summary

Fix the plan title for subscription plan selector. Also need to manually call subscription APIs when needed, in this PR we added such logic when add/delete resource.

Testing

Tested locally.

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +1.15 KB

Diff by File |Name|Diff| |---|---| |packages/console/src/components/PlanName/index.tsx|:chart_with_upwards_trend: +287 Bytes| |packages/console/src/pages/ApiResourceDetails/ApiResourcePermissions/components/CreatePermissionModal/index.tsx|:chart_with_upwards_trend: +369 Bytes| |packages/console/src/pages/ApiResourceDetails/index.tsx|:chart_with_upwards_trend: +381 Bytes| |packages/console/src/types/subscriptions.ts|:chart_with_upwards_trend: +137 Bytes|