From 7307fc67e7a71d6b832e7cdf73eeae7874a2620b Mon Sep 17 00:00:00 2001 From: Charl Smit Date: Mon, 22 Jan 2024 14:39:54 +0200 Subject: [PATCH] Fix js lint --- corehq/apps/export/static/export/js/customize_export_new.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/corehq/apps/export/static/export/js/customize_export_new.js b/corehq/apps/export/static/export/js/customize_export_new.js index 7eab88a6c87b..0085060e0be1 100644 --- a/corehq/apps/export/static/export/js/customize_export_new.js +++ b/corehq/apps/export/static/export/js/customize_export_new.js @@ -11,7 +11,7 @@ hqDefine('export/js/customize_export_new', [ initialPageData, models, toggles, - constants, + constants ) { $(function () { var customExportView = new models.ExportInstance( @@ -35,13 +35,13 @@ hqDefine('export/js/customize_export_new', [ if (toggles.toggleEnabled('SUPPORT_GEO_JSON_EXPORT')) { const exportFormat = initialPageData.get('export_instance').export_format; - if (exportFormat == constants.EXPORT_FORMATS.GEOJSON) { + if (exportFormat === constants.EXPORT_FORMATS.GEOJSON) { $("#select-geo-property").show(); } $('#format-select').change(function () { const selectedValue = $(this).val(); - if (selectedValue == constants.EXPORT_FORMATS.GEOJSON) { + if (selectedValue === constants.EXPORT_FORMATS.GEOJSON) { $("#select-geo-property").show(); } else { $("#select-geo-property").hide();