diff --git a/.vscode/settings.json b/.vscode/settings.json index bcfb564f8..09091c2e9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,6 +2,9 @@ "typescript.tsdk": "node_modules\\typescript\\lib", "cSpell.words": [ "Datatable", + "datatable", + "luxon", + "toastr", "typeahead", "Ecoacoustics" ] diff --git a/src/app/components/harvest/pages/list/list.component.spec.ts b/src/app/components/harvest/pages/list/list.component.spec.ts index 9efc3503f..e9236d442 100644 --- a/src/app/components/harvest/pages/list/list.component.spec.ts +++ b/src/app/components/harvest/pages/list/list.component.spec.ts @@ -234,7 +234,7 @@ describe("ListComponent", () => { }); // if this test if failing, it is either because the harvest api is not called, or called twice (or more) - // either in the harvest list page is faulty or our datatable pagnation directive is faulty + // either in the harvest list page is faulty or our datatable pagination directive is faulty it("should call the harvest api once on load", () => { const harvestApi = setup(defaultProject, defaultHarvest); expect(harvestApi.filter).toHaveBeenCalledTimes(1); diff --git a/src/app/components/harvest/pages/list/list.component.ts b/src/app/components/harvest/pages/list/list.component.ts index d838e79ee..d5d9fd2b9 100644 --- a/src/app/components/harvest/pages/list/list.component.ts +++ b/src/app/components/harvest/pages/list/list.component.ts @@ -48,7 +48,7 @@ class ListComponent extends PageComponent implements OnInit { public ngOnInit(): void { this.project = this.route.snapshot.data[projectKey].model; this.canCreateHarvestCapability = this.project.can("createHarvest").can; - // A BehaviorSubject is need on fitlers$ to update the ngx-datatable harvest list & models + // A BehaviorSubject is need on filters$ to update the ngx-datatable harvest list & models // The this.filters$ is triggered in abortUpload() this.filters$ = new BehaviorSubject({ sorting: {