fix: compatibility banner blocked by ublock (@fehmer) (#6502)

!nuf
This commit is contained in:
Christian Fehmer 2025-05-05 11:40:07 +02:00 committed by GitHub
parent 024e86e842
commit 72016eaab7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,14 +59,7 @@ function buildApi(timeout: number): (args: ApiFetcherArgs) => Promise<{
backendCheck > COMPATIBILITY_CHECK
? `Looks like the client and server versions are mismatched (backend is newer). Please <a onClick="location.reload(true)">refresh</a> the page.`
: `Looks like our monkeys didn't deploy the new server version correctly. If this message persists contact support.`;
Notifications.addBanner(
message,
1,
undefined,
false,
undefined,
true
);
Notifications.addPSA(message, 1, undefined, false, undefined, true);
bannerShownThisSession = true;
}
}