From 143bae619085d28efe1cde454bf586394856c97f Mon Sep 17 00:00:00 2001 From: Fang Date: Wed, 18 Mar 2020 23:25:40 +0100 Subject: [PATCH] chat fe: clarify copy Also clarifies a comment, and removes unnecessary console.log calls. --- pkg/interface/chat/src/js/components/settings.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/interface/chat/src/js/components/settings.js b/pkg/interface/chat/src/js/components/settings.js index 34293b328b..9ba1045b89 100644 --- a/pkg/interface/chat/src/js/components/settings.js +++ b/pkg/interface/chat/src/js/components/settings.js @@ -181,7 +181,6 @@ export class SettingsScreen extends Component { const { props, state } = this; const chatOwner = (deSig(props.match.params.ship) === window.ship); - console.log(chatOwner, props.match.params.ship, window.ship); const ownedUnmanagedVillage = chatOwner && @@ -192,9 +191,8 @@ export class SettingsScreen extends Component { return null; } else { let inclusiveToggle =
- console.log('tg', state.targetGroup); if (state.targetGroup) { - //TODO toggle component + //TODO toggle component into /lib let inclusiveClasses = state.inclusive ? "relative checked bg-green2 br3 h1 toggle v-mid z-0" : "relative bg-gray4 bg-gray1-d br3 h1 toggle v-mid z-0"; @@ -207,7 +205,7 @@ export class SettingsScreen extends Component { onChange={this.changeInclusive} /> - Inclusive + Add all members to group

Add chat members to the group if they aren't in it yet