We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9da9528 commit c72b3b0Copy full SHA for c72b3b0
dash/dash-renderer/src/components/error/menu/VersionInfo.react.js
@@ -56,7 +56,7 @@ function shouldShowUpgradeNotification(currentDashVersion, newDashVersion) {
56
const lastDismissedVersion = localStorage.getItem('lastDismissedVersion');
57
if (
58
currentDashVersion == newDashVersion ||
59
- !showNotifications ||
+ showNotifications === 'false' ||
60
newDashVersion === undefined
61
) {
62
return false;
@@ -85,8 +85,8 @@ export const VersionInfo = ({config}) => {
85
86
const setDontShowAgain = () => {
87
// Set local storage to record the last dismissed notification
88
+ localStorage.setItem('showNotifications', false);
89
setUpgradeTooltipOpened(false);
- localStorage.setItem('showNotifications', true);
90
};
91
92
const setRemindMeLater = () => {
0 commit comments