mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #17279 from overleaf/revert-17277-jpa-hide-old-writefull-banner
Revert "[web] hide old Writefull banner when the extension is already installed" GitOrigin-RevId: bc4d28cff7ce472a5f271026122c5fc6c4ab7886
This commit is contained in:
parent
404e023e08
commit
5dc3716581
1 changed files with 0 additions and 4 deletions
|
@ -58,13 +58,9 @@ function UserNotifications() {
|
|||
return false
|
||||
}
|
||||
|
||||
const hasWritefullExtensionAlreadyInstalled =
|
||||
window.writefull?.type === 'extension'
|
||||
|
||||
const show =
|
||||
user?.writefull?.enabled === true || // show to any users who have writefull enabled regardless of split test
|
||||
(!writefullIntegrationSplitTestEnabled && // show old banner to users who are not in the split test, who are on chrome and havent dismissed
|
||||
!hasWritefullExtensionAlreadyInstalled &&
|
||||
isChromium() &&
|
||||
getMeta('ol-showWritefullPromoBanner'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue