fix: auto-fix findings from no-mistakes review

- Remove duplicate  import
- Fix  →  in create ticket
- Fix  →  in ticket detail
- Add note field to TicketUpdate schema and handle note-only updates in backend
- Update frontend submitNote() to use PATCH endpoint
This commit is contained in:
root
2026-07-23 19:06:33 +00:00
parent 9aa7971a28
commit 3dc383e62d
5 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -244,7 +244,7 @@
const payload = {
description: this.form.description,
priority: this.form.priority || null,
reporter: this.form.reporter || this.user.full_name,
reporter: this.form.reporter || app().user.full_name,
reported_via: this.form.reported_via || 'walk-in',
category_id: this.form.category_id ? parseInt(this.form.category_id) : (this.form.category_main ? parseInt(this.form.category_main) : null),
};