From f1785326a86da3a45de07a5e441cd40caf69d3c4 Mon Sep 17 00:00:00 2001 From: tshenry Date: Mon, 19 Oct 2020 12:03:03 -0700 Subject: [PATCH] FIX: Permitted groups should display on group query access picker (#77) The toString() that was introduced in 80ffc45 was preventing any actively permitted groups from displaying in the group picker when entering a query page. --- .../discourse/controllers/admin-plugins-explorer.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 b/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 index f649843..472f9f8 100644 --- a/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 +++ b/assets/javascripts/discourse/controllers/admin-plugins-explorer.js.es6 @@ -70,7 +70,7 @@ export default Ember.Controller.extend({ return groups .filter((g) => g.id !== 0) .map((g) => { - return { id: g.id.toString(), name: g.name }; + return { id: g.id, name: g.name }; }); },