Skip to content

Commit 3a5b9e9

Browse files
committed
fixes build error
1 parent 8fb4a8c commit 3a5b9e9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "event-viewer-pp",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/loukaspd/EventViewer.git"

src/app/components/event-viewer/event-viewer-filters/event-viewer-filters.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class EventViewerFiltersComponent {
3838
this.dropdownSources = [...changes.availableSources.currentValue];
3939
}
4040

41-
const newFilters = (changes.filters || {}).currentValue;
41+
const newFilters = changes.filters != null ? changes.filters.currentValue : null;
4242
if (newFilters == null) return;
4343

4444
this.dropdownSources = this.availableSources.filter(sc => newFilters.sources.indexOf(sc) < 0);

0 commit comments

Comments
 (0)