Unable to trigger success condition

Unable to trigger success condition
I noticed the bug last week

IOS and Chrome

Error:

ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js:125 TypeError: $scope.droneDeploy.Track.succcessCondition is not a function
(anonymous) @ ajax.googleapis.com/ajax/libs/angularjs/1.6.7/angular.min.js:125

My code:

$scope.droneDeploy.Track.succcessCondition()
$scope.droneDeploy.Messaging.showToast(“Plano criado com sucesso”, {
timeout: 3000
})

Hi @tazoniero,

It looks like you spelled success incorrectly in your code. It should have 2 c’s instead of 3. Let’s give this a try and see if it helps.

Cheers,
Christina

1 Like

That was a stupid mistake of mine! Thank you