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

Fix update of vertical menu styles after menu click #1110

Merged
merged 1 commit into from
Feb 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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