From e1ebbff3b5f18b7d81a857675eb8d0dd1bd48e93 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 15 Nov 2021 19:38:41 +0400 Subject: [PATCH] Removed unused field refs https://github.com/TryGhost/Toolbox/issues/127 - Wasn't able to find any references to the "originalValue" field in permalinks, so removed it to keep the code clean and readable --- core/frontend/services/routing/CollectionRouter.js | 1 - 1 file changed, 1 deletion(-) diff --git a/core/frontend/services/routing/CollectionRouter.js b/core/frontend/services/routing/CollectionRouter.js index 807e99aa94..194b4cd9b7 100644 --- a/core/frontend/services/routing/CollectionRouter.js +++ b/core/frontend/services/routing/CollectionRouter.js @@ -27,7 +27,6 @@ class CollectionRouter extends ParentRouter { this.rss = object.rss !== false; this.permalinks = { - originalValue: object.permalink, value: object.permalink };