Fixing issue when there are too many websites, team can't add any.

This commit is contained in:
魔王少年 2024-01-26 00:35:31 +08:00
parent 784237bfab
commit b6f4f8e690
No known key found for this signature in database

View file

@ -51,7 +51,7 @@ export function TeamWebsiteAddForm({
{isLoading && !hasData && <Loading icon="dots" position="center" />} {isLoading && !hasData && <Loading icon="dots" position="center" />}
{!isLoading && !hasData && <Empty />} {!isLoading && !hasData && <Empty />}
{hasData && ( {hasData && (
<Form onSubmit={handleSubmit} error={error}> <Form onSubmit={handleSubmit} error={error} style={{ maxHeight: '85vh', overflow: 'auto' }}>
<WebsitesDataTable userId={user.id} showActions={false}> <WebsitesDataTable userId={user.id} showActions={false}>
<GridColumn name="select" label={formatMessage(labels.selectWebsite)} alignment="end"> <GridColumn name="select" label={formatMessage(labels.selectWebsite)} alignment="end">
{row => ( {row => (