Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :class="{ open: dropDownOpen === 'categoryMenu', active: getActiveMainMenuBoolean(['/now-hiring','/categories', ,'/category'])} "
- getActiveMainMenuBoolean(urls) {
- const { pathname } = window.location;
- return urls.includes(pathname);
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement