Skip to content

Commit

Permalink
Merge pull request #2 from camanolight/ikommunicate-support
Browse files Browse the repository at this point in the history
Removed logic that filtered out any server name except 'signalk-serve…
  • Loading branch information
itemir authored Mar 3, 2017
2 parents 103256d + ec3611d commit fa46480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pages/panel/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class PanelPage {

handleSignalKMessage(jsonData) {
let data = JSON.parse(jsonData);
if (('name' in data) && (data.name == 'signalk-server'))
if ('name' in data)
this.signalK.selfId = data.self
else if ('context' in data) {
let vesselId = data.context.replace('vessels.','');
Expand Down

0 comments on commit fa46480

Please sign in to comment.