mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
refactor: shift warnings to under the "Generate a new JWT secret" panel
This commit is contained in:
1 parent
6c1ba3f9c7
commit
64e4965ff3
1 file changed
+17
-17
@@ -317,26 +317,26 @@ const ServiceList: FC<any> = ({ projectRef }) => {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{isJwtSecretUpdateFailed ? (
|
||||
<Alert withIcon variant="warning" title="Failed to update JWT secret">
|
||||
Please try again. If the failures persist, please contact Supabase
|
||||
support with the following details: <br />
|
||||
Change tracking ID: {changeTrackingId} <br />
|
||||
Error message: {jwtSecretUpdateErrorMessage}
|
||||
</Alert>
|
||||
) : (
|
||||
<Alert
|
||||
withIcon
|
||||
variant="warning"
|
||||
title="This will invalidate all existing API keys!"
|
||||
>
|
||||
Your project will also be restarted during this process, which will
|
||||
terminate any existing connections.
|
||||
</Alert>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{isJwtSecretUpdateFailed ? (
|
||||
<Alert withIcon variant="warning" title="Failed to update JWT secret">
|
||||
Please try again. If the failures persist, please contact Supabase support
|
||||
with the following details: <br />
|
||||
Change tracking ID: {changeTrackingId} <br />
|
||||
Error message: {jwtSecretUpdateErrorMessage}
|
||||
</Alert>
|
||||
) : (
|
||||
<Alert
|
||||
withIcon
|
||||
variant="warning"
|
||||
title="This will invalidate all existing API keys!"
|
||||
>
|
||||
Your project will also be restarted during this process, which will terminate
|
||||
any existing connections.
|
||||
</Alert>
|
||||
)}
|
||||
</div>
|
||||
</Flag>
|
||||
</Panel.Content>
|
||||
|
||||
Reference in new issue
Block a user