feat: add team feature flag (#915)

## Description

Add the ability to feature flag the teams feature via UI.

Also added minor UI changes

## Checklist

- [X] I have tested these changes locally and they work as expected.
- [X] I have added/updated tests that prove the effectiveness of these
changes.
- [X] I have followed the project's coding style guidelines.
This commit is contained in:
David Nguyen
2024-02-07 21:32:44 +11:00
committed by GitHub
parent 70c58470c1
commit 7d39e3d065
9 changed files with 244 additions and 34 deletions

View File

@ -158,6 +158,7 @@ export const CreateTeamCheckoutDialog = ({
<Button
type="submit"
disabled={selectedPrice.interval === 'yearly'}
loading={isCreatingCheckout}
onClick={async () =>
createCheckout({
@ -166,7 +167,7 @@ export const CreateTeamCheckoutDialog = ({
})
}
>
Checkout
{selectedPrice.interval === 'monthly' ? 'Checkout' : 'Coming soon'}
</Button>
</DialogFooter>
</div>