updated offline banner

This commit is contained in:
Miodec 2022-09-27 22:51:04 +02:00
parent 0cb797a2ff
commit 368f8f1f39

View file

@ -17,11 +17,11 @@ try {
console.error(e);
const error = e as Error;
Notifications.addBanner(
"Offline mode: " +
(window.location.hostname === "localhost" ? error.message : ""),
"Offline mode" +
(window.location.hostname === "localhost" ? ":" + error.message : ""),
0,
undefined,
true
false
);
// $("body").text(
// "Failed to initialize Firebase. Are you sure you have the correct config in the firebase-config.ts file?"