mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Reset modal on close
This commit is contained in:
parent
e03da2475d
commit
3040a35203
1 changed files with 3 additions and 1 deletions
|
|
@ -273,7 +273,9 @@ export function ArticleActionsMenu(
|
|||
{props.article && readerSettings.showSetLabelsModal && (
|
||||
<SetLabelsModal
|
||||
provider={props.article}
|
||||
onOpenChange={(open: boolean) => {}}
|
||||
onOpenChange={(open: boolean) => {
|
||||
readerSettings.setShowSetLabelsModal(false)
|
||||
}}
|
||||
onLabelsUpdated={(labels: Label[]) => {
|
||||
props.articleActionHandler('refreshLabels', labels)
|
||||
}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue