Skip to content

Commit

Permalink
Fixing issue with non existent args due to old style component
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerac4 committed Oct 12, 2022
1 parent e03c129 commit c8e91b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ember-modals/src/components/modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export default class ModalDialogClass extends ModalDialog<
* @returns Class based on size
*/
get modalSize(): string {
return `modal-${this.args.size ?? this.size}`;
return `modal-${this.size}`;
}

/**
Expand Down

0 comments on commit c8e91b6

Please sign in to comment.