Skip to content

Commit

Permalink
Merge branch 'Development' of https://github.com/WazeDev/WME-Place-Ha…
Browse files Browse the repository at this point in the history
…rmonizer into Development
  • Loading branch information
mapomatic committed Oct 12, 2024
2 parents 649c2b7 + c124377 commit f40a0a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WME-Place-Harmonizer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name WME Place Harmonizer Beta
// @namespace WazeUSA
// @version 2024.08.30.000
// @version 2024.10.11.000
// @description Harmonizes, formats, and locks a selected place
// @author WMEPH Development Group
// @include /^https:\/\/(www|beta)\.waze\.com\/(?!user\/)(.{2,6}\/)?editor\/?.*$/
Expand Down Expand Up @@ -1378,7 +1378,7 @@
let PNHForceCat = this.forceCategoryMatching; // Primary category of PNH data

// Gas stations only harmonized if the WME place category is already gas station (prevents Costco Gas becoming Costco Store)
if (categories[0] === CAT.GAS_STATION) {
if (categories[0] === CAT.GAS_STATION || PNHPriCat === CAT.GAS_STATION) {
PNHForceCat = Pnh.ForceCategoryMatchingType.PRIMARY;
}

Expand Down

0 comments on commit f40a0a8

Please sign in to comment.