@openinc/parse-server-opendash 3.9.0 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -55,6 +55,8 @@ async function initCurrentTicketStates() {
|
|
|
55
55
|
const inboxState = await new Parse.Query(types_1.Maintenance_Kanban_State)
|
|
56
56
|
.equalTo("isInbox", true)
|
|
57
57
|
.first({ useMasterKey: true });
|
|
58
|
+
if (!inboxState)
|
|
59
|
+
continue;
|
|
58
60
|
// saving the ticket state will automatically create an entry in the current ticket states table due to the afterSave-Hook
|
|
59
61
|
const newkanbanstate = new types_1.Maintenance_Ticket_Kanban_State({
|
|
60
62
|
ticket: ticket,
|