Skip to content

Commit 8f1049c

Browse files
author
NikolayAvramov
committed
Adjust Notifications
1 parent 9e8527c commit 8f1049c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bellatrix.web/src/main/java/solutions/bellatrix/web/services/BrowserService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ public void injectWarningNotificationToast(String format, Object... args) {
347347

348348
public void injectNotificationToast(String message, long timeoutMillis, ToastNotificationType type) {
349349
String escapedMessage = StringEscapeUtils.escapeEcmaScript(message);
350-
Log.info(type.name() + " " + escapedMessage);
350+
Log.info("[" + type.name() + "] " + escapedMessage);
351351
String executionScript = """
352352
window.$bellatrixToastContainer = !window.$bellatrixToastContainer ? Object.assign(document.createElement('div'), {id: 'bellatrixToastContainer', style: 'position: fixed; top: 0; height: 100vh; padding-bottom: 20px; display: flex; pointer-events: none; z-index: 2147483646; justify-content: flex-end; flex-direction: column; overflow: hidden;'}) : window.$bellatrixToastContainer;
353353
let $message = '""" + escapedMessage + """

0 commit comments

Comments
 (0)