فهرست منبع

Merge pull request #2872 from overleaf/cmg-covid-ls-key

Change local storage key for covid notification for extended offer

GitOrigin-RevId: 0fc070e27993d7440037717d8692f5a822d7bd8e
Chrystal Maria Griffiths 6 سال پیش
والد
کامیت
7018cfc7fc
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      services/web/frontend/js/main/project-list/notifications-controller.js

+ 2 - 2
services/web/frontend/js/main/project-list/notifications-controller.js

@@ -28,10 +28,10 @@ App.controller('DismissableNotificationsController', function(
   localStorage
   localStorage
 ) {
 ) {
   $scope.shouldShowNotification =
   $scope.shouldShowNotification =
-    localStorage('dismissed-covid-19-notification') !== true
+    localStorage('dismissed-covid-19-notification-extended') !== true
 
 
   $scope.dismiss = () => {
   $scope.dismiss = () => {
-    localStorage('dismissed-covid-19-notification', true)
+    localStorage('dismissed-covid-19-notification-extended', true)
     $scope.shouldShowNotification = false
     $scope.shouldShowNotification = false
   }
   }
 })
 })