We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 56d0489 + 8f300cc commit 2e665b7Copy full SHA for 2e665b7
src/uSupport/App_Plugins/uSupport/backoffice/ticketTypes/apps/ticketType/ticketType.controller.js
@@ -29,7 +29,7 @@
29
}
30
];
31
32
- if ($scope.model.ticketType.PropertyId !== 0) {
+ if ($scope.model.ticketType) {
33
uSupportTicketTypeResources.getDataTypeFromId($scope.model.ticketType.PropertyId).then(function (type) {
34
$scope.model.properties[0].value = $scope.model.ticketType.PropertyName;
35
$scope.model.properties[1].value = $scope.model.ticketType.PropertyDescription;
0 commit comments