From 37f29139357335279ee5368a9a5188bb83d4ced8 Mon Sep 17 00:00:00 2001 From: Matthew Schile Date: Thu, 19 Dec 2024 09:47:12 -0700 Subject: [PATCH] updates --- packages/app/src/debug/LayeredBrowserIcons.vue | 2 +- packages/app/src/runner/SpecRunnerHeaderOpenMode.vue | 2 +- packages/app/src/runner/SpecRunnerHeaderRunMode.vue | 2 +- packages/app/src/runner/automation/AutomationMissing.vue | 2 +- packages/frontend-shared/src/gql-components/topnav/TopNav.vue | 2 +- .../src/gql-components/topnav/VerticalBrowserListItems.vue | 2 +- packages/launchpad/src/setup/OpenBrowserList.vue | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) 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 @@ >