This repository was archived by the owner on May 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export type MetaData = {
15
15
16
16
// until dedicated endpoint been provided - fetch one by one
17
17
export const useGetStreamMetadata = ( ) => {
18
- const [ isLoading , setLoading ] = useState < boolean > ( true ) ;
18
+ const [ isLoading , setLoading ] = useState < boolean > ( false ) ;
19
19
const [ error , setError ] = useState < boolean > ( false ) ;
20
20
const [ metaData , setMetadata ] = useState < MetaData | null > ( null ) ;
21
21
const [ userRoles ] = useAppStore ( ( store ) => store . userRoles ) ;
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import IconButton from '@/components/Button/IconButton';
10
10
import { useAppStore } from '@/layouts/MainLayout/providers/AppProvider' ;
11
11
12
12
const navigateToDocs = ( ) => {
13
- return window . open ( 'https://www.parseable.io /docs/rbac' , '_blank' ) ;
13
+ return window . open ( 'https://www.parseable.com /docs/server/api /rbac' , '_blank' ) ;
14
14
} ;
15
15
16
16
const renderDocsIcon = ( ) => < IconBook2 stroke = { 1.5 } size = "1rem" /> ;
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ const Home: FC = () => {
126
126
127
127
return (
128
128
< >
129
- { ! shouldDisplayEmptyPlaceholder && (
129
+ { ( ( Array . isArray ( userSpecificStreams ) && userSpecificStreams . length > 0 ) || searchTerm ) && (
130
130
< Stack
131
131
style = { {
132
132
padding : '1rem' ,
@@ -187,7 +187,7 @@ const Home: FC = () => {
187
187
< NoStreamsView
188
188
hasCreateStreamAccess = { hasCreateStreamAccess }
189
189
openCreateStreamModal = { openCreateStreamModal }
190
- shouldHideFooter
190
+ shouldHideFooter = { Array . isArray ( userSpecificStreams ) && userSpecificStreams . length > 0 }
191
191
/>
192
192
) : (
193
193
< Group style = { { margin : '0 1rem' , gap : '1rem' } } >
You can’t perform that action at this time.
0 commit comments