From c03f716a2893f5e6a105dc663f45abc60172f7f7 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Fri, 10 May 2019 16:06:33 +0100 Subject: [PATCH] Match multi-edit categories --- app/src/parse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/parse.js b/app/src/parse.js index 87a20ff0..712cfb59 100644 --- a/app/src/parse.js +++ b/app/src/parse.js @@ -43,7 +43,7 @@ function parseCategoryURL(url) { if (url === '/') { return defaultCat; } - const matches = /^\/(view|edit)\/([^/.]+)/.exec(url); + const matches = /^\/(view|edit|multi-edit)\/([^/.]+)/.exec(url); const cat = (matches && matches.length >= 3) ? matches[2] : defaultCat; return cat; }