Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1110 from mzazrivec/fix_vertical_menu_update
Browse files Browse the repository at this point in the history
Fix update of vertical menu styles after menu click
  • Loading branch information
himdel authored Feb 26, 2020
2 parents f7934dc + 75e7d9f commit d42df0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/common/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import http from './http';
import { links } from '../react/config/config';

const updateUrl = '/migration/menu_section_url?section=migration&url=/migration%23';
const activeMenuItemSelector = '[data-target="#menu-migration"] > div > ul > li[class="list-group-item active"]';
const activeMenuItemSelector = 'li[id="menu_section_migration"] > div > ul > li[class="menu-list-group-item active"]';

export const updateVerticalMenu = path => {
// POST /migration/menu_section_url to update session[:tab_url] on server
Expand Down

0 comments on commit d42df0e

Please sign in to comment.