diff --git a/frontend/src/pages/AdminTierLimitsPage.jsx b/frontend/src/pages/AdminTierLimitsPage.jsx index ab2bc89..801d1e6 100644 --- a/frontend/src/pages/AdminTierLimitsPage.jsx +++ b/frontend/src/pages/AdminTierLimitsPage.jsx @@ -331,6 +331,36 @@ export default function AdminTierLimitsPage() { const currentValue = getCurrentValue(tier.id, feature.id) const isChanged = `${tier.id}:${feature.id}` in changes && changes[`${tier.id}:${feature.id}`].value !== '' + // Boolean features: Toggle button + if (feature.limit_type === 'boolean') { + const isEnabled = currentValue !== 0 && currentValue !== '0' + return ( + + + + ) + } + + // Count features: Text input return ( + + + + ) + } + + // Count features: Text input return (