fix eslint issues

pull/2564/head
Ayrat Badykov 5 years ago
parent ce139f9db3
commit 5fb5df8fbe
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 6
      apps/block_scout_web/assets/js/lib/async_listing_load.js

@ -206,11 +206,11 @@ export const elements = {
$el.show()
$el.attr('disabled', false)
const urlParams = new URLSearchParams(window.location.search);
const blockParam = urlParams.get('block_type');
const urlParams = new URLSearchParams(window.location.search)
const blockParam = urlParams.get('block_type')
if (blockParam !== null) {
$el.attr('href', window.location.href.split('?')[0] + "?block_type=" + blockParam)
$el.attr('href', window.location.href.split('?')[0] + '?block_type=' + blockParam)
} else {
$el.attr('href', window.location.href.split('?')[0])
}

Loading…
Cancel
Save