From 0dfe22de36cd05721741065c016c7ece610c9740 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 24 Aug 2020 10:38:29 -0500 Subject: [PATCH] Fix updateFromAdmin() broken comparison --- app/soapbox/reducers/soapbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/reducers/soapbox.js b/app/soapbox/reducers/soapbox.js index 82aea46ce..dd7b0bea3 100644 --- a/app/soapbox/reducers/soapbox.js +++ b/app/soapbox/reducers/soapbox.js @@ -11,7 +11,7 @@ const updateFromAdmin = (state, config) => { try { return ConfigDB.find(configs, ':pleroma', ':frontend_configurations') .get('value') - .find(value => value.getIn(['tuple', 0] === ':soapbox_fe')) + .find(value => value.getIn(['tuple', 0]) === ':soapbox_fe') .getIn(['tuple', 1]); } catch { return state;