mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-17 03:53:15 +00: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:
parent
a4dca01fb5
commit
7018cfc7fc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue