Skip to content

Commit

Permalink
Updated packages and fixed subtotals (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksSavelev authored Jun 24, 2024
1 parent e5f717b commit 4e5afc6
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

This page contains information about changes to the PowerBI Visual Tools (pbiviz).

## 5.5.1
* Fixed subtotal feature check

## 5.5.0
* Changed path for storing certificates. It allows the certificate to be reused regardless of tools version. New path is `({home directory}/pbiviz-certs)`.
* Windows version lower 10 is deprecated.
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powerbi-visuals-tools",
"version": "5.5.0",
"version": "5.5.1",
"description": "Command line tool for creating and publishing visuals for Power BI",
"main": "./bin/pbiviz.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/features/TotalSubTotal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default class TotalSubTotal implements BaseFeature {
public static errorMessage = `${this.featureName} - ${this.documentationLink}`

static isSupported(packageInstance: Package) {
return packageInstance.isCapabilityEnabled({ subtotals: true })
return packageInstance.isCapabilityEnabled({ subtotals: {} })
}
}

0 comments on commit 4e5afc6

Please sign in to comment.