Skip to content

Commit 2e665b7

Browse files
authored
Merge pull request #6 from Lantzify/main
Fixed faulty logic for ticket types
2 parents 56d0489 + 8f300cc commit 2e665b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uSupport/App_Plugins/uSupport/backoffice/ticketTypes/apps/ticketType/ticketType.controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
];
3131

32-
if ($scope.model.ticketType.PropertyId !== 0) {
32+
if ($scope.model.ticketType) {
3333
uSupportTicketTypeResources.getDataTypeFromId($scope.model.ticketType.PropertyId).then(function (type) {
3434
$scope.model.properties[0].value = $scope.model.ticketType.PropertyName;
3535
$scope.model.properties[1].value = $scope.model.ticketType.PropertyDescription;

0 commit comments

Comments
 (0)