-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use actual default translation keys if not provided explicitly t…
…o useModal
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3a3961c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update, but without further documentation it's hard to comprehend other issues.
Since this update, the default deleteAction produces the subtitle "modal-subTitle" in the confirmation modal,
due to the lack of the subtitle parameter (just possible to forward "guard" for modal title) and a default translation key. So it just passes "modal-subTitle" as a String in production.
Would be nice to get more information about context and and a default translation keys :)
And how could I just let the subTitle away without setting the default translation to ''?
3a3961c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks like a bug 100%, should probably create an issue