File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ export const ShareHeader = ({
6666
6767 const isOwner = user && user . id . toString ( ) === data . ownerId ;
6868
69- console . log ( data ) ;
70-
7169 const { webUrl } = usePublicEnv ( ) ;
7270
7371 useEffect ( ( ) => {
@@ -220,7 +218,7 @@ export const ShareHeader = ({
220218 ) : (
221219 < Avatar
222220 className = "rounded-full size-9"
223- name = { data . organizationName }
221+ name = { data . organizationName ?? "Organization" }
224222 letterClass = "text-sm"
225223 />
226224 ) }
Original file line number Diff line number Diff line change @@ -289,6 +289,8 @@ export default async function ShareVideoPage(props: PageProps<"/s/[videoId]">) {
289289 duration : videos . duration ,
290290 fps : videos . fps ,
291291 hasPassword : sql `${ videos . password } IS NOT NULL` . mapWith ( Boolean ) ,
292+ organizationIconUrl : organizations . iconUrl ,
293+ organizationName : organizations . name ,
292294 sharedOrganization : {
293295 organizationId : sharedVideos . organizationId ,
294296 } ,
You can’t perform that action at this time.
0 commit comments