From 34f08d5306f34a4e0096fc7c82bd7268a2655922 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Fri, 7 Aug 2026 14:40:27 -0400 Subject: [PATCH] backups: fix the history view's back link The view linked to /assets/, which is not a route. Each asset type has its own detail route keyed by its own id (/machines/), and there is no generic asset detail page to return to, so the link 404'd. Uses router.back() instead: this page is only ever reached from an asset panel, so history is the correct destination regardless of the asset type, and it needs no per-type route table. Falls back to the machines list when opened directly from a pasted URL. The /api/assets/ call that fetches the heading name is unaffected - that endpoint does exist; it was only the frontend route that did not. --- .../backups/frontend/views/BackupHistory.vue | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/plugins/backups/frontend/views/BackupHistory.vue b/plugins/backups/frontend/views/BackupHistory.vue index 5c1a0f8..f7a344e 100644 --- a/plugins/backups/frontend/views/BackupHistory.vue +++ b/plugins/backups/frontend/views/BackupHistory.vue @@ -1,7 +1,11 @@