-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(SILVA-535): updates to cleard advanced search component #464
Conversation
const [selectedCategories, setSelectedCategories] = useState<any[]>([]); | ||
|
||
useEffect(() => { | ||
console.log("Use Effect in child is being called.", filters); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this console.log here
import "./OpeningsSearchBar.scss"; | ||
import { Search, Button, FlexGrid, Row, Column, DismissibleTag } from "@carbon/react"; | ||
import * as Icons from "@carbon/icons-react"; | ||
import AdvancedSearchDropdown from "../AdvancedSearchDropdown"; | ||
import SearchFilterBar from "../SearchFilterBar"; | ||
import { useOpeningsSearch } from "../../../../contexts/search/OpeningsSearch"; | ||
import { countActiveFilters } from "../../../../utils/searchUtils"; | ||
import { callbackify } from "util"; | ||
import { c } from "vite/dist/node/types.d-aGj9QkWt"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this, please. This was probably added by vscode while you were typing.
@@ -37,6 +37,7 @@ export const OpeningsSearchProvider: React.FC<{ children: ReactNode }> = ({ chil | |||
|
|||
// Function to clear individual filter field by key | |||
const clearIndividualField = (key: string) => { | |||
console.log("Clearing individual field", key); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this console.log
…clear-date-filters
Description
Please provide a summary of the change and the issue fixed. Please include relevant context. List dependency changes.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist
Further comments
Thanks for the PR!
Any successful deployments (not always required) will be available below.
Backend: https://nr-silva-464-backend.apps.silver.devops.gov.bc.ca/actuator/health
Frontend: https://nr-silva-14-frontend.apps.silver.devops.gov.bc.ca
Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow