We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa34777 commit dcf7cfbCopy full SHA for dcf7cfb
config/config.js
@@ -4,6 +4,7 @@ app.controller('WebhooksCtrl', ['$scope', function ($scope) {
4
ar.splice(ar.indexOf(item), 1);
5
}
6
$scope.hooks = $scope.pluginConfig('webhooks') || [];
7
+ if (!Array.isArray($scope.hooks)) $scope.hooks = [];
8
if (!$scope.hooks.length) $scope.hooks.push({});
9
10
$scope.remove = function (hook) {
0 commit comments