Co-authored-by: Rebecca Scott <me@becdetat.com>
This commit is contained in:
Bec Scott 2020-05-08 17:12:37 +10:00 committed by GitHub
parent 1f0307e8b0
commit 88a9f1c415
1 changed files with 3 additions and 1 deletions

View File

@ -313,7 +313,9 @@ class Theme extends Component {
const allThemes = [
...themes.filter(
( theme ) =>
theme.has_woocommerce_support || theme.slug === activeTheme
theme &&
( theme.has_woocommerce_support ||
theme.slug === activeTheme )
),
...uploadedThemes,
];