📑 fix: Access Control for Bookmarks (UI) (#4612)

This commit is contained in:
Danny Avila 2024-11-01 18:54:17 -04:00 committed by GitHub
parent 95011ce349
commit 9437e95315
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 19 deletions

View file

@ -176,11 +176,13 @@ const Nav = ({
{isSearchEnabled === true && (
<SearchBar clearSearch={clearSearch} isSmallScreen={isSmallScreen} />
)}
<BookmarkNav
tags={tags}
setTags={setTags}
isSmallScreen={isSmallScreen}
/>
{hasAccessToBookmarks === true && (
<BookmarkNav
tags={tags}
setTags={setTags}
isSmallScreen={isSmallScreen}
/>
)}
</>
}
/>