Project

General

Profile

Actions

Bug #25265

closed

Allow using the I18n in defaultProps

Added by Avi Sharvit almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

This will fail all tests:

```js
SearchButton.defaultProps = {
children: __('Search'),
};
```

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6162 added
Actions #2

Updated by Ohad Levy almost 6 years ago

  • Target version set to 1.21.0
  • Fixed in Releases 1.21.0 added
Actions #3

Updated by Avi Sharvit almost 6 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Tomer Brisker over 5 years ago

  • Category set to Internationalization
Actions

Also available in: Atom PDF