File tree Expand file tree Collapse file tree
src/routes/(console)/organization-[organization] Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script lang =" ts" >
2- import { newOrgModal , newMemberModal } from ' $lib/stores/organization' ;
2+ import { newMemberModal , newOrgModal } from ' $lib/stores/organization' ;
33 import CreateMember from ' ./createMember.svelte' ;
44 import Create from ' ../createOrganization.svelte' ;
55 import { goto } from ' $app/navigation' ;
1010 import { base } from ' $app/paths' ;
1111 import { isOwner } from ' $lib/stores/roles' ;
1212 import type { LayoutProps } from ' ./$types' ;
13- import { resolvedProfile } from ' $lib/profiles/index.svelte' ;
13+ import { ProfileMode , resolvedProfile } from ' $lib/profiles/index.svelte' ;
1414
1515 let { data, children }: LayoutProps = $props ();
1616
4242 }
4343 ])
4444 );
45+
46+ const pageTitle = $derived .by (() => {
47+ const platform = resolvedProfile .platform ;
48+ return resolvedProfile .id === ProfileMode .STUDIO ? platform : ` Organizations - ${platform } ` ;
49+ });
4550 </script >
4651
4752<svelte:head >
48- <title >Organizations - { resolvedProfile . platform }</title >
53+ <title >{ pageTitle }</title >
4954</svelte:head >
5055
5156{@render children ()}
You can’t perform that action at this time.
0 commit comments