mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
added org name param support
This commit is contained in:
1 parent
cb8527d412
commit
048bc3a84e
1 file changed
+2
-2
@@ -21,7 +21,7 @@ type TokenInfo = ITokenInfo | undefined
|
||||
|
||||
const JoinOrganizationPage = () => {
|
||||
const router = useRouter()
|
||||
const { slug, token } = router.query
|
||||
const { slug, token, name } = router.query
|
||||
const { ui, app } = useStore()
|
||||
const { profile } = useProfile()
|
||||
|
||||
@@ -164,7 +164,7 @@ const JoinOrganizationPage = () => {
|
||||
{organization_name ? (
|
||||
<>
|
||||
<p className="text-scale-1200 text-3xl">
|
||||
{organization_name ? `${organization_name}` : 'an organization'}{' '}
|
||||
{name ? name : organization_name ? `${organization_name}` : 'an organization'}
|
||||
</p>
|
||||
{!token_does_not_exist && (
|
||||
<p className="text-scale-900 text-sm">an organization on Supabase</p>
|
||||
|
||||
Reference in new issue
Block a user