mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-24 21:39:36 +02:00
Pin/Delete category
This commit is contained in:
parent
bd5354a2e3
commit
0f2125e720
8 changed files with 156 additions and 7 deletions
|
@ -99,7 +99,9 @@ const Bookmarks = (props: ComponentProps): JSX.Element => {
|
|||
{props.loading
|
||||
? <Spinner />
|
||||
: (!isInEdit
|
||||
? <BookmarkGrid categories={props.categories} />
|
||||
? props.categories.length > 0
|
||||
? <BookmarkGrid categories={props.categories} />
|
||||
: <p className={classes.BookmarksMessage}>You don't have any bookmarks. You can a new one from <Link to='/bookmarks'>/bookmarks</Link> menu</p>
|
||||
: <BookmarkTable contentType={tableContentType} categories={props.categories} />)
|
||||
}
|
||||
</Container>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue