Skip to content

Fix Historical alert filter ,table filter #573

Fix Historical alert filter ,table filter

Fix Historical alert filter ,table filter #573

Triggered via pull request December 4, 2024 04:44
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 4 warnings
Typecheck: src/views/Home/AlertsTable/index.tsx#L141
Cannot find name 'selectedSeverityTypes'.
Typecheck: src/views/Home/AlertsTable/index.tsx#L142
Cannot find name 'selectedCertaintyTypes'.
Typecheck: src/views/Home/AlertsTable/index.tsx#L143
Cannot find name 'selectedUrgencyTypes'.
Typecheck: src/views/Home/AlertsTable/index.tsx#L160
Cannot find name 'selectedSeverityTypes'.
Typecheck: src/views/Home/AlertsTable/index.tsx#L161
Cannot find name 'selectedCertaintyTypes'.
Typecheck: src/views/Home/AlertsTable/index.tsx#L162
Cannot find name 'selectedUrgencyTypes'.
Typecheck
Process completed with exit code 1.
Lint CSS
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint JS
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint JS: src/views/Home/AlertsTable/index.tsx#L153
React Hook useEffect has unnecessary dependencies: 'selectedCertaintyTypes', 'selectedSeverityTypes', and 'selectedUrgencyTypes'. Either exclude them or remove the dependency array. Outer scope values like 'selectedSeverityTypes' aren't valid dependencies because mutating them doesn't re-render the component