diff --git a/.changeset/lucky-apricots-change.md b/.changeset/lucky-apricots-change.md new file mode 100644 index 000000000000..12d93b4fb652 --- /dev/null +++ b/.changeset/lucky-apricots-change.md @@ -0,0 +1,5 @@ +--- +"@rocket.chat/meteor": patch +--- + +Fixed an issue allowing admin user cancelling subscription when license's trial param is provided diff --git a/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx b/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx index 40fd57fb70b1..1208a6eea9d5 100644 --- a/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx +++ b/apps/meteor/client/views/admin/subscription/SubscriptionPage.tsx @@ -177,7 +177,7 @@ const SubscriptionPage = () => { )} - {Boolean(licensesData?.trial || licensesData?.license?.information.cancellable) && ( + {Boolean(licensesData?.license?.information.cancellable) && (