Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 86c6fc0

Browse files
committedDec 21, 2019
release(0.1.8): release 🎉
firing appropriate tagAdded and tagRemoved events
1 parent 3fbf936 commit 86c6fc0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎projects/angular-tags-input/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎projects/angular-tags-input/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iomechs/angular-tags-input",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"peerDependencies": {
55
"@angular/common": "^8.2.11",
66
"@angular/core": "^8.2.11"

‎projects/angular-tags-input/src/lib/dropdown/dropdown.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ export class DropdownComponent
7070
if (changes.listItems && !changes.listItems.firstChange) {
7171
// if the list items change, update the context items (because they're not automatically updated)
7272
this.filterItems(this.inputVal, changes.listItems.currentValue);
73-
this.populateItemsMap(changes.listItems ? changes.listItems.currentValue || this.listItems);
73+
this.populateItemsMap(changes.listItems ? changes.listItems.currentValue : this.listItems);
7474
}
7575

7676
if (
7777
changes.inputVal && !changes.inputVal.firstChange
7878
) {
7979
// if the list items change, update the context items (because they're not automatically updated)
8080
this.filterItems(changes.inputVal.currentValue);
81-
this.populateItemsMap(changes.listItems ? changes.listItems.currentValue || this.listItems);
81+
this.populateItemsMap(changes.listItems ? changes.listItems.currentValue : this.listItems);
8282
}
8383
}
8484

0 commit comments

Comments
 (0)
Please sign in to comment.