mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-06 07:39:02 +02: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:
committed by
Copybot
parent
7ec327cb56
commit
3e1b090ad2
-4
@@ -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'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user