Skip to content

Commit

Permalink
v13.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
boehlerlukas committed Dec 19, 2023
1 parent e4685e6 commit 36e35d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gleap",
"version": "13.1.0",
"version": "13.1.1",
"main": "build/index.js",
"scripts": {
"start": "webpack serve",
Expand Down
3 changes: 2 additions & 1 deletion src/GleapStreamedEvent.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Gleap, { GleapFrameManager, GleapMetaDataManager, GleapSession } from "./Gleap";
import Gleap, { GleapFrameManager, GleapMetaDataManager, GleapNotificationManager, GleapSession } from "./Gleap";
import { gleapDataParser } from "./GleapHelper";

export default class GleapStreamedEvent {
Expand Down Expand Up @@ -102,6 +102,7 @@ export default class GleapStreamedEvent {
try {
if (message.name === 'update') {
const { a, u } = message.data;

if (!GleapFrameManager.getInstance().isOpened()) {
if (a) {
Gleap.getInstance().performActions(a);
Expand Down
14 changes: 7 additions & 7 deletions src/UI.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,18 +780,18 @@ export const injectStyledCSS = (
.bb-notification-bubble {
position: absolute;
top: -6px;
right: -6px;
min-width: 22px;
top: -5px;
right: -5px;
min-width: 20px;
padding: 0px 4px;
height: 22px;
border-radius: 22px;
height: 20px;
border-radius: 20px;
background-color: red;
color: #fff;
font-size: 12px;
font-size: 11px;
font-family: sans-serif;
text-align: center;
line-height: 22px;
line-height: 20px;
}
.bb-notification-bubble--hidden {
Expand Down

0 comments on commit 36e35d5

Please sign in to comment.