From 8d60b1da466689d249bdfc366dad7cfdb61fb3d2 Mon Sep 17 00:00:00 2001 From: "kts of kettek (POWERQWACK)" Date: Tue, 18 May 2021 03:42:06 -0700 Subject: [PATCH] Properly refer to dictionary --- plugins/srd-router/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/srd-router/route.js b/plugins/srd-router/route.js index 08db33a..af09008 100644 --- a/plugins/srd-router/route.js +++ b/plugins/srd-router/route.js @@ -45,7 +45,7 @@ module.exports = (plugin, app) => { } // make a local copy of our dictionary and remove the current page, if existing - let local_dictionary = Object.assign({}, app.dictionary) + let local_dictionary = Object.assign({}, app.live.dictionary) delete local_dictionary[crumbs[crumbs.length-1]] let text if (Object.keys(local_dictionary).length !== 0) {