From 0768e84bc0674b7140f961ac8000052308b55d45 Mon Sep 17 00:00:00 2001 From: Oliver Foster Date: Wed, 14 Aug 2024 17:31:25 +0100 Subject: [PATCH] Fix: Emit router:location on contentObject reload --- js/router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/router.js b/js/router.js index 7a68455d..5aeb70d4 100644 --- a/js/router.js +++ b/js/router.js @@ -356,7 +356,7 @@ class Router extends Backbone.Router { } async updateLocation(currentLocation, type, id, currentModel) { - if (location._currentId === id) return; + if (location._currentId === id && id === null) return; // Handles updating the location. location._previousModel = location._currentModel;