mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix input value not cleared on closing dialog
This commit is contained in:
@@ -119,6 +119,7 @@ export class AddNotebookDialog extends React.Component {
|
|||||||
this.currentInputValue.trim().length !== 0
|
this.currentInputValue.trim().length !== 0
|
||||||
) {
|
) {
|
||||||
t.push(this.currentInputValue);
|
t.push(this.currentInputValue);
|
||||||
|
this.currentInputValue = null;
|
||||||
}
|
}
|
||||||
if (id) {
|
if (id) {
|
||||||
await db.notebooks.add({
|
await db.notebooks.add({
|
||||||
|
|||||||
Reference in New Issue
Block a user