fix(gatekeeper): only return available seats if there are some (#4463)

This commit is contained in:
Gergő Jedlicska
2025-04-16 19:30:18 +02:00
committed by GitHub
parent bc8058ba6e
commit ef08f8cecf
@@ -258,9 +258,11 @@ export = FF_GATEKEEPER_MODULE_ENABLED
type: 'editor'
})
const available = purchased - assigned > 0 ? purchased - assigned : 0
return {
assigned,
available: purchased - assigned
available
}
},