Commit cbc015ca authored by Sean McGivern's avatar Sean McGivern

Fix performance bar cookie

parent 0f4aaffc
...@@ -62,7 +62,7 @@ import findAndFollowLink from './shortcuts_dashboard_navigation'; ...@@ -62,7 +62,7 @@ import findAndFollowLink from './shortcuts_dashboard_navigation';
if (Cookies.get(performanceBarCookieName) === 'true') { if (Cookies.get(performanceBarCookieName) === 'true') {
Cookies.remove(performanceBarCookieName, { path: '/' }); Cookies.remove(performanceBarCookieName, { path: '/' });
} else { } else {
Cookies.set(performanceBarCookieName, true, { path: '/' }); Cookies.set(performanceBarCookieName, 'true', { path: '/' });
} }
gl.utils.refreshCurrentPage(); gl.utils.refreshCurrentPage();
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment