Fix performance bar cookie

This commit is contained in:
Sean McGivern 2017-07-07 16:10:33 +01:00
parent b8c4d5e0f5
commit c179f507ee
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ import findAndFollowLink from './shortcuts_dashboard_navigation';
if (Cookies.get(performanceBarCookieName) === 'true') {
Cookies.remove(performanceBarCookieName, { path: '/' });
} else {
Cookies.set(performanceBarCookieName, true, { path: '/' });
Cookies.set(performanceBarCookieName, 'true', { path: '/' });
}
gl.utils.refreshCurrentPage();
};