This commit is contained in:
isidor
2020-06-15 15:57:56 +02:00
parent 09d507ac01
commit 5b703aff8e

View File

@@ -32,7 +32,7 @@ export class MainThreadStatusBar implements MainThreadStatusBarShape {
if (accessibilityInformation) {
ariaLabel = accessibilityInformation.label;
} else {
ariaLabel = text.indexOf('$(') === -1 ? text : tooltip || text;
ariaLabel = text && text.indexOf('$(') === -1 ? text : tooltip || text;
}
const entry: IStatusbarEntry = { text, tooltip, command, color, ariaLabel };