summaryrefslogtreecommitdiffstats
path: root/webapp/client
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/client')
-rw-r--r--webapp/client/client.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx
index 88da51372..cf015bc84 100644
--- a/webapp/client/client.jsx
+++ b/webapp/client/client.jsx
@@ -40,7 +40,7 @@ export default class Client {
}
getTeamId() {
- if (this.teamId === '') {
+ if (!this.teamId) {
console.error('You are trying to use a route that requires a team_id, but you have not called setTeamId() in client.jsx'); // eslint-disable-line no-console
}