Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit b4912241
authored
2024-06-25 11:55:18 +0530
by
jaymehta
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
.
1 parent
6c336e82
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
components/layout/Header.js
components/layout/Header.js
View file @
b491224
...
...
@@ -91,11 +91,11 @@ const Header = () => {
onChange
=
{
selected
=>
{
console
.
log
(
"selected"
,
selected
);
// router.push("/listing");
if
(
selected
[
0
]?.
label
.
includes
(
"
e
xperience"
))
{
//
console.log("jjja");
if
(
selected
[
0
]?.
label
.
includes
(
"
E
xperience"
))
{
console
.
log
(
"jjja"
);
router
.
push
(
`/activities/
${
selected
[
0
].
id
}
`
);
}
if
(
selected
[
0
]?.
label
.
includes
(
"
c
ategory"
))
{
if
(
selected
[
0
]?.
label
.
includes
(
"
C
ategory"
))
{
router
.
push
(
`/listing?category=
${
selected
[
0
].
id
}
`
);
// dispatch(setActivityFilters({ filters: { category: selected[0].id, subCategories: [] } }));
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment