Fix dismissal of enterprise learner portal banner. (#22015)

This commit is contained in:
Douglas Hall
2019-10-11 11:49:09 -04:00
committed by GitHub
parent b8a19b7b92
commit bf3d337312

View File

@@ -23,7 +23,7 @@ function setViewedBanner() {
}
function hasViewedBanner() {
window.localStorage.getItem(LOCAL_STORAGE_KEY);
return window.localStorage.getItem(LOCAL_STORAGE_KEY) != null;
}
class EnterpriseLearnerPortalBanner extends Component {