From 80a7035154ccd4ccf9f761d4117f286e352676e9 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 17 Jan 2019 23:08:44 +0300 Subject: removing unnecessary conversions since it should already be converted in normalizer --- src/modules/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/users.js') diff --git a/src/modules/users.js b/src/modules/users.js index 0b55d701..d83f0dd8 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -151,7 +151,7 @@ const users = { }, addNewNotifications (store, { notifications }) { const users = map(notifications, 'from_profile') - const notificationIds = notifications.map(_ => String(_.id)) + const notificationIds = notifications.map(_ => _.id) store.commit('addNewUsers', users) const notificationsObject = store.rootState.statuses.notifications.idStore -- cgit v1.2.3-70-g09d2