mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #2872 from overleaf/cmg-covid-ls-key
Change local storage key for covid notification for extended offer GitOrigin-RevId: 0fc070e27993d7440037717d8692f5a822d7bd8e
This commit is contained in:
committed by
Copybot
parent
a4dca01fb5
commit
7018cfc7fc
@@ -28,10 +28,10 @@ App.controller('DismissableNotificationsController', function(
|
||||
localStorage
|
||||
) {
|
||||
$scope.shouldShowNotification =
|
||||
localStorage('dismissed-covid-19-notification') !== true
|
||||
localStorage('dismissed-covid-19-notification-extended') !== true
|
||||
|
||||
$scope.dismiss = () => {
|
||||
localStorage('dismissed-covid-19-notification', true)
|
||||
localStorage('dismissed-covid-19-notification-extended', true)
|
||||
$scope.shouldShowNotification = false
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user