Skip to content

Commit 1d44903

Browse files
committed
Merge branch 'gh-pages' of https://github.com/Microsoft/PowerBI-javascript into gh-pages
2 parents ef98353 + 38b16ad commit 1d44903

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎demo/app/defaults.js‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ $(function () {
2121
}
2222
]);
2323

24+
var defaultFilters = [defaultFilter];
25+
2426
// Init
2527
fetch(staticReportUrl)
2628
.then(function (response) {
@@ -29,7 +31,7 @@ $(function () {
2931
.then(function (embedConfig) {
3032
var defaultsEmbedConfig = $.extend({}, embedConfig, {
3133
pageName: defaultPageName,
32-
filter: defaultFilter.toJSON(),
34+
filters: defaultFilters,
3335
settings: {
3436
filterPaneEnabled: true,
3537
navContentPaneEnabled: true
@@ -47,4 +49,4 @@ $(function () {
4749
});
4850
}
4951
});
50-
});
52+
});

0 commit comments

Comments
 (0)