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

Commit

Permalink
Fix update of vertical menu styles after menu click
Browse files Browse the repository at this point in the history
The layout, styles & classes changed a little bit when the vertical
menu was re-done into React.
  • Loading branch information
mzazrivec committed Feb 21, 2020
1 parent 7164efe commit 75e7d9f
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 75e7d9f

Please sign in to comment.