2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

fix nesting issue

This commit is contained in:
Matthias Mair
2025-01-10 03:16:16 +01:00
parent fc09af58b1
commit 56137d268b

View File

@ -267,9 +267,10 @@ function ProviderSection({
<Grid.Col span={6}> <Grid.Col span={6}>
<Stack> <Stack>
<Text>Add SSO Account</Text> <Text>Add SSO Account</Text>
<Text>
{availableProviders === undefined ? ( {availableProviders === undefined ? (
<Text>
<Trans>Loading</Trans> <Trans>Loading</Trans>
</Text>
) : ( ) : (
<Stack gap='xs'> <Stack gap='xs'>
{availableProviders.map((provider: any) => ( {availableProviders.map((provider: any) => (
@ -277,7 +278,6 @@ function ProviderSection({
))} ))}
</Stack> </Stack>
)} )}
</Text>
</Stack> </Stack>
</Grid.Col> </Grid.Col>
</Grid> </Grid>