From 3a798757cf8ad2f7d684d19d5fd5c28552fae277 Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Tue, 10 Apr 2018 08:10:53 +0200 Subject: [PATCH] removed unused code --- client/client/src/address-edit/address-edit.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/client/src/address-edit/address-edit.js b/client/client/src/address-edit/address-edit.js index f0f3955ce..506e6f376 100644 --- a/client/client/src/address-edit/address-edit.js +++ b/client/client/src/address-edit/address-edit.js @@ -112,12 +112,10 @@ export default class Controller { this.$state.go('clientCard.addresses.list', {id: this.$state.params.id}); }); } else if (!canSubmitWatcher && canSubmitObservations) { - console.log('noWatcher canNotes'); this._submitObservations(observationsObj).then(() => { this.$state.go('clientCard.addresses.list', {id: this.$state.params.id}); }); } else if (canSubmitWatcher && canSubmitObservations) { - console.log('canWatcher canNotes'); this.$q.all([this.$scope.watcher.submit(), this._submitObservations(observationsObj)]).then(() => { this.$state.go('clientCard.addresses.list', {id: this.$state.params.id}); });