diff --git a/packages/app/src/debug/LayeredBrowserIcons.vue b/packages/app/src/debug/LayeredBrowserIcons.vue index c14a181f6734..2e075ee48225 100644 --- a/packages/app/src/debug/LayeredBrowserIcons.vue +++ b/packages/app/src/debug/LayeredBrowserIcons.vue @@ -32,7 +32,7 @@ const results = computed(() => { if (props.browsers) { return props.browsers.map((browserType) => { return { - icon: browserType ? allBrowsersIcons[browserType.toLowerCase()] : allBrowsersIcons.generic, + icon: allBrowsersIcons[browserType?.toLowerCase()] || allBrowsersIcons.generic, name: `browser-icon-${browserType.toLowerCase().replaceAll(' ', '_')}`, } }) diff --git a/packages/app/src/runner/SpecRunnerHeaderOpenMode.vue b/packages/app/src/runner/SpecRunnerHeaderOpenMode.vue index ca28e98562ef..df1435a01b8f 100644 --- a/packages/app/src/runner/SpecRunnerHeaderOpenMode.vue +++ b/packages/app/src/runner/SpecRunnerHeaderOpenMode.vue @@ -64,7 +64,7 @@ >