mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Minor improvement on a math calculated field
This commit is contained in:
@@ -75,7 +75,7 @@ export const EnvironmentTable = ({ handlePopUpOpen }: Props) => {
|
||||
|
||||
const environmentsOverPlanLimit =
|
||||
subscription?.environmentLimit && currentWorkspace?.environments
|
||||
? currentWorkspace.environments.length - subscription.environmentLimit
|
||||
? Math.max(0, currentWorkspace.environments.length - subscription.environmentLimit)
|
||||
: 0;
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user