We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5cb6f1 commit b4d2326Copy full SHA for b4d2326
framework/default/ortoo-core/default/lwc/confirmationDialog/confirmationDialog.js
@@ -35,7 +35,11 @@ export default class ConfirmationDialog extends LightningElement {
35
};
36
set type( value ) {
37
if ( ! type.hasOwnProperty( value ) ) {
38
- throw 'Invalid type specified, should be one of ' + type;
+ let typeList = [];
39
+ for ( let thisType in type ) {
40
+ typeList.push( type[ thisType ] );
41
+ }
42
+ throw 'Invalid type specified, should be one of ' + typeList.join( ', ' );
43
}
44
this._type = value;
45
0 commit comments