Skip to content

Commit 4e5afc6

Browse files
authored
Updated packages and fixed subtotals (#515)
1 parent e5f717b commit 4e5afc6

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

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

5+
## 5.5.1
6+
* Fixed subtotal feature check
7+
58
## 5.5.0
69
* Changed path for storing certificates. It allows the certificate to be reused regardless of tools version. New path is `({home directory}/pbiviz-certs)`.
710
* Windows version lower 10 is deprecated.

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "powerbi-visuals-tools",
3-
"version": "5.5.0",
3+
"version": "5.5.1",
44
"description": "Command line tool for creating and publishing visuals for Power BI",
55
"main": "./bin/pbiviz.js",
66
"type": "module",

src/features/TotalSubTotal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ export default class TotalSubTotal implements BaseFeature {
1111
public static errorMessage = `${this.featureName} - ${this.documentationLink}`
1212

1313
static isSupported(packageInstance: Package) {
14-
return packageInstance.isCapabilityEnabled({ subtotals: true })
14+
return packageInstance.isCapabilityEnabled({ subtotals: {} })
1515
}
1616
}

0 commit comments

Comments
 (0)