Skip to content

Commit

Permalink
Explicit option definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Jan 10, 2025
1 parent 3f4f909 commit 20e3888
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,9 @@ export class App {
* @returns {ViewConfig[]} The list of associated configs.
*/
getViewConfigs(dataId, excludeStarConfig) {
if (typeof excludeStarConfig === 'undefined') {
excludeStarConfig = false;
}
// check options
if (this.#options.dataViewConfigs === null ||
typeof this.#options.dataViewConfigs === 'undefined') {
Expand Down

0 comments on commit 20e3888

Please sign in to comment.