Skip to content

Commit 1e653da

Browse files
committed
v14.5.7
1 parent a42c7b3 commit 1e653da

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

build/cjs/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/esm/index.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gleap",
3-
"version": "14.5.6",
3+
"version": "14.5.7",
44
"main": "build/cjs/index.js",
55
"module": "build/esm/index.mjs",
66
"exports": {

published/14.5.7/index.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

published/latest/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GleapNotificationManager.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,9 @@ export default class GleapNotificationManager {
336336
this.notificationContainer.appendChild(elem);
337337
}
338338

339-
const hasNotifications = newsNotifications.length > 0 || otherNotifications.length > 0;
340-
if (hasNotifications) {
339+
const hasNotifications =
340+
newsNotifications.length > 0 || otherNotifications.length > 0;
341+
if (!hasNotifications) {
341342
// Clear the notification container
342343
this.clearAllNotifications(true);
343344
}
@@ -379,7 +380,7 @@ export default class GleapNotificationManager {
379380

380381
/**
381382
* Clears all notifications from the container.
382-
*
383+
*
383384
* @param {boolean} uiOnly - Whether to only clear the UI or also the notifications.
384385
*/
385386
clearAllNotifications(uiOnly = false) {

src/UI.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ export const injectStyledCSS = (
10051005
min-width: 12px;
10061006
padding: 0px 4px;
10071007
height: 20px;
1008+
min-width: 20px;
10081009
border-radius: 20px;
10091010
background-color: red;
10101011
color: #fff;

0 commit comments

Comments
 (0)