From 27b68c74dca8ea5269725559b370283ec4123651 Mon Sep 17 00:00:00 2001 From: Elias Nahum Date: Fri, 8 Jun 2018 17:42:04 -0400 Subject: [PATCH] Fix roles Set issue and update device-info to not cache appVersion (#1753) --- app/store/index.js | 5 +++++ package-lock.json | 8 ++++---- package.json | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/app/store/index.js b/app/store/index.js index e49da1589..9c1b9983b 100644 --- a/app/store/index.js +++ b/app/store/index.js @@ -38,9 +38,14 @@ const channelSetTransform = [ 'channelsInTeam', ]; +const rolesSetTransform = [ + 'pending', +]; + const setTransforms = [ ...usersSetTransform, ...channelSetTransform, + ...rolesSetTransform, ]; export default function configureAppStore(initialState) { diff --git a/package-lock.json b/package-lock.json index b3e60c656..a947184eb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9878,8 +9878,8 @@ } }, "mattermost-redux": { - "version": "github:mattermost/mattermost-redux#c000a81479a3b37de4e7815ef6f623c3e3649a20", - "from": "github:mattermost/mattermost-redux#c000a81479a3b37de4e7815ef6f623c3e3649a20", + "version": "github:mattermost/mattermost-redux#b81b6c647b226554cb0d410578562e5f876f4d9b", + "from": "github:mattermost/mattermost-redux#b81b6c647b226554cb0d410578562e5f876f4d9b", "requires": { "deep-equal": "1.0.1", "eslint-plugin-header": "1.2.0", @@ -14427,8 +14427,8 @@ } }, "react-native-device-info": { - "version": "github:enahum/react-native-device-info#27ecfd4a59341bf6ed71d11203d914067070e8df", - "from": "react-native-device-info@github:enahum/react-native-device-info#27ecfd4a59341bf6ed71d11203d914067070e8df" + "version": "github:enahum/react-native-device-info#a7bb3cff1086780b2c791a3e43e5b826fdf3ab11", + "from": "github:enahum/react-native-device-info#a7bb3cff1086780b2c791a3e43e5b826fdf3ab11" }, "react-native-dismiss-keyboard": { "version": "1.0.0", diff --git a/package.json b/package.json index 2d657dff2..b28577986 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "intl": "1.2.5", "jail-monkey": "1.0.0", "jsc-android": "216113.0.3", - "mattermost-redux": "github:mattermost/mattermost-redux#c000a81479a3b37de4e7815ef6f623c3e3649a20", + "mattermost-redux": "github:mattermost/mattermost-redux#b81b6c647b226554cb0d410578562e5f876f4d9b", "mime-db": "1.33.0", "prop-types": "15.6.1", "react": "16.3.2", @@ -26,7 +26,7 @@ "react-native-button": "2.3.0", "react-native-circular-progress": "0.2.0", "react-native-cookies": "3.2.0", - "react-native-device-info": "enahum/react-native-device-info.git#27ecfd4a59341bf6ed71d11203d914067070e8df", + "react-native-device-info": "enahum/react-native-device-info.git#a7bb3cff1086780b2c791a3e43e5b826fdf3ab11", "react-native-doc-viewer": "2.7.8", "react-native-document-picker": "2.1.0", "react-native-drawer": "2.5.0",