Close "category select" dialog on "edit/create" click
This commit is contained in:
@@ -27,6 +27,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|||||||
- (**Manga**) Fix failing migration with disabled "tracking" data
|
- (**Manga**) Fix failing migration with disabled "tracking" data
|
||||||
- (**Manga**) Fix showing private tracking option for trackers which do not support the option
|
- (**Manga**) Fix showing private tracking option for trackers which do not support the option
|
||||||
- (**Manga**) Fix redirection to tracker settings in case no tracker is logged in
|
- (**Manga**) Fix redirection to tracker settings in case no tracker is logged in
|
||||||
|
- (**Manga**) Fix closing the category select dialog after clicking edit/create button while adding an entry to the library
|
||||||
- (**Library**) Fix showing incorrect info text for an empty category
|
- (**Library**) Fix showing incorrect info text for an empty category
|
||||||
- (**Browse**) Prevent infinite loading in case the whole source catalogue has been added to the library and the "hide entries in library" setting is enabled
|
- (**Browse**) Prevent infinite loading in case the whole source catalogue has been added to the library and the "hide entries in library" setting is enabled
|
||||||
- (**Browse**) Fix using incorrect native language name for some sources (e.g., different chinese languages (zh-hans, zh-hant, ...) were all showing the same native name)
|
- (**Browse**) Fix using incorrect native language name for some sources (e.g., different chinese languages (zh-hans, zh-hant, ...) were all showing the same native name)
|
||||||
|
|||||||
@@ -244,7 +244,11 @@ export function CategorySelect(props: CategorySelectProps) {
|
|||||||
width: '100%',
|
width: '100%',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Button component={Link} to={AppRoutes.settings.childRoutes.categories.path}>
|
<Button
|
||||||
|
component={Link}
|
||||||
|
to={AppRoutes.settings.childRoutes.categories.path}
|
||||||
|
onClick={onDismiss}
|
||||||
|
>
|
||||||
{t(allCategories.length ? 'global.button.edit' : 'global.button.create')}
|
{t(allCategories.length ? 'global.button.edit' : 'global.button.create')}
|
||||||
</Button>
|
</Button>
|
||||||
<Stack direction="row">
|
<Stack direction="row">
|
||||||
|
|||||||
Reference in New Issue
Block a user