Skip to content

Commit

Permalink
Build Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
datajohnson committed Jul 3, 2024
1 parent 5d223a3 commit 015147d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/src/modules/administration/router/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { authGuard } from "@auth0/auth0-vue";
import { RouteLocation } from "vue-router";
import { RouteLocation, RouteRecordRaw } from "vue-router";
import { useUserStore } from "@/store/UserStore";

const routes: RouteRecordRaw[] = [
Expand Down
4 changes: 3 additions & 1 deletion web/src/store/ReportStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const useReportStore = defineStore("reports", {
formData.append("date", (report as any).date.toString());
formData.append("urgency", report.urgency);
formData.append("location_code", report.location_code);
formData.append("location_detail", report.location_detail);
formData.append("location_detail", report.location_detail ?? "");
formData.append("description", report.description);
formData.append("supervisor_email", report.supervisor_email);
formData.append("on_behalf", report.on_behalf);
Expand Down Expand Up @@ -271,6 +271,8 @@ export interface Incident {
supervisor_email: string;
on_behalf: string;
on_behalf_email: string;
investigation_notes?: string;
location_detail?: string;

incident_type_description: string;
status_name: string;
Expand Down

0 comments on commit 015147d

Please sign in to comment.