Skip to content

Commit

Permalink
Merge pull request #1033 from ssiyad/fix/default_ticket_type
Browse files Browse the repository at this point in the history
fix: missing default ticket type
  • Loading branch information
ssiyad committed Mar 7, 2023
2 parents f2d4dfa + 072c3b8 commit 2e27698
Show file tree
Hide file tree
Showing 10 changed files with 326 additions and 270 deletions.
236 changes: 125 additions & 111 deletions desk/src/components/desk/tickets/NewTicketDialog.vue

Large diffs are not rendered by default.

11 changes: 9 additions & 2 deletions desk/src/pages/desk/Desk.vue
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,15 @@ export default {
onSuccess: () => {
// TODO:
},
onError: () => {
// TODO:
onError: (error) => {
this.$toast({
title: "Error while creating ticket",
text: error.messages.join(", "),
customIcon: "circle-fail",
appearance: "danger",
});
throw error;
},
};
},
Expand Down
Loading

0 comments on commit 2e27698

Please sign in to comment.