From 34f11531fa0825ca9383ffa88204c734863d4e21 Mon Sep 17 00:00:00 2001 From: u-e Date: Wed, 1 May 2019 13:37:28 +0300 Subject: [PATCH] updated notf percent logic --- src/components/notificationLine/view/notificationLineView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/notificationLine/view/notificationLineView.js b/src/components/notificationLine/view/notificationLineView.js index 218831352..0b749b9ec 100644 --- a/src/components/notificationLine/view/notificationLineView.js +++ b/src/components/notificationLine/view/notificationLineView.js @@ -55,7 +55,7 @@ class NotificationLineView extends PureComponent { }); if (notification.weight) { - const _percent = `${(notification.weight / 100).toFixed(2)}% `; + const _percent = `${parseFloat((notification.weight / 100).toFixed(2))}% `; _title = _percent + _title; }