From 4bd62b3567b94c9c0ba7b13f2547a0a4d38979d4 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 1 May 2026 02:37:54 +0000 Subject: [PATCH] Fix publicreport store name pollution This was causing a request to be made to the wrong API endpoint by going to /api/publicreport instead of /api/rm/publicreport which doesn't work on RMO's hostname. --- ts/rmo/store/publicreport.ts | 2 +- ts/rmo/view/StatusByID.vue | 187 ++++++++++++++++++----------------- 2 files changed, 97 insertions(+), 92 deletions(-) diff --git a/ts/rmo/store/publicreport.ts b/ts/rmo/store/publicreport.ts index 9b65f130..20279899 100644 --- a/ts/rmo/store/publicreport.ts +++ b/ts/rmo/store/publicreport.ts @@ -9,7 +9,7 @@ import { type PublicReportUpdate, } from "@/type/api"; -export const useStorePublicReport = defineStore("publicreport", () => { +export const useStorePublicReport = defineStore("rmo-publicreport", () => { // State const _byURI = ref>(new Map()); const loading = ref(false); diff --git a/ts/rmo/view/StatusByID.vue b/ts/rmo/view/StatusByID.vue index c9afe5fd..71f17854 100644 --- a/ts/rmo/view/StatusByID.vue +++ b/ts/rmo/view/StatusByID.vue @@ -47,103 +47,107 @@