From 13d0e0d9535c958eaf662308477b985d1a6c9225 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Fri, 11 Feb 2022 09:40:43 +0100 Subject: [PATCH] maint(pat querystring): Cleanup - direct import of Select2 is not necessary. --- src/pat/querystring/querystring.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pat/querystring/querystring.js b/src/pat/querystring/querystring.js index c88987dfa..67169f244 100644 --- a/src/pat/querystring/querystring.js +++ b/src/pat/querystring/querystring.js @@ -362,9 +362,12 @@ Criteria.prototype = { } else { self.$operator.val( "plone.app.querystring.operation.string.relativePath" - ) + ); } - } else if(self.$operator.val() === "plone.app.querystring.operation.string.relativePath") { + } else if ( + self.$operator.val() === + "plone.app.querystring.operation.string.relativePath" + ) { pathAndDepth = ["..", "1"]; } @@ -639,7 +642,6 @@ export default Base.extend({ showPreviews: true, }, init: async function () { - await import("select2"); await import("../select2/select2"); await import("../relateditems/relateditems");