]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix apply button should reset state on close dropdown 2701/head
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sat, 18 Feb 2023 22:29:49 +0000 (14:29 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Sat, 18 Feb 2023 22:29:49 +0000 (14:29 -0800)
src-ui/src/app/components/common/filterable-dropdown/filterable-dropdown.component.ts

index 30f2a217cd9a206c9963a5d81f6cef83a3aefa03..cd994483fbe61b460727b4af8019d5ae58433ea9 100644 (file)
@@ -358,6 +358,7 @@ export class FilterableDropdownComponent {
       }, 0)
       if (this.editing) {
         this.selectionModel.reset()
+        this.modelIsDirty = false
       }
       this.opened.next(this)
     } else {