Skip to content

Commit

Permalink
Change comparison operator
Browse files Browse the repository at this point in the history
  • Loading branch information
mholthausen committed May 18, 2021
1 parent 057d1c2 commit 980ff73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QGISStyleParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ export class QGISStyleParser implements StyleParser {
const type: string = 'RuleRenderer';
const rules: any[] = [];
const symbols: any[] = this.getQmlSymbolsFromStyle(geoStylerStyle, rules);
if (rules.length > 0 && symbols.length > 0) {
if (rules.length > 0 || symbols.length > 0) {
return {
qgis: {
$: {},
Expand Down

0 comments on commit 980ff73

Please sign in to comment.