From c6e14fc38074526269f8e2ffb158014351584f95 Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Wed, 23 Mar 2016 16:01:20 -0400
Subject: Fixed tutorial step preferences to be saved as strings

---
 webapp/components/tutorial/tutorial_intro_screens.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'webapp/components/tutorial/tutorial_intro_screens.jsx')

diff --git a/webapp/components/tutorial/tutorial_intro_screens.jsx b/webapp/components/tutorial/tutorial_intro_screens.jsx
index 734842cad..913a30483 100644
--- a/webapp/components/tutorial/tutorial_intro_screens.jsx
+++ b/webapp/components/tutorial/tutorial_intro_screens.jsx
@@ -36,12 +36,12 @@ export default class TutorialIntroScreens extends React.Component {
 
         Utils.switchChannel(ChannelStore.getByName(Constants.DEFAULT_CHANNEL));
 
-        let step = PreferenceStore.getInt(Preferences.TUTORIAL_STEP, UserStore.getCurrentId(), 0);
+        const step = PreferenceStore.getInt(Preferences.TUTORIAL_STEP, UserStore.getCurrentId(), 0);
 
         AsyncClient.savePreference(
             Preferences.TUTORIAL_STEP,
             UserStore.getCurrentId(),
-            step + 1
+            (step + 1).toString()
         );
     }
     skipTutorial(e) {
@@ -50,7 +50,7 @@ export default class TutorialIntroScreens extends React.Component {
         AsyncClient.savePreference(
             Preferences.TUTORIAL_STEP,
             UserStore.getCurrentId(),
-            999
+            '999'
         );
     }
     createScreen() {
-- 
cgit v1.2.3-1-g7c22

