Fix #28961 - "Report issues" failing when no themes are installed
This commit is contained in:
parent
0423761713
commit
653256412d
1 changed files with 2 additions and 2 deletions
|
@ -845,8 +845,8 @@ Steps to Reproduce:
|
|||
return onlyTheme ? 'themes' : 'nonThemes';
|
||||
});
|
||||
|
||||
const themeExclusionStr = themes.length ? `\n(${themes.length} theme extensions excluded)` : '';
|
||||
extensions = nonThemes;
|
||||
const themeExclusionStr = (themes && themes.length) ? `\n(${themes.length} theme extensions excluded)` : '';
|
||||
extensions = nonThemes || [];
|
||||
|
||||
if (!extensions.length) {
|
||||
return 'none' + themeExclusionStr;
|
||||
|
|
Loading…
Reference in a new issue