diff --git a/photon-client/src/components/app/photon-sidebar.vue b/photon-client/src/components/app/photon-sidebar.vue index 938eb14b96..ac8636d521 100644 --- a/photon-client/src/components/app/photon-sidebar.vue +++ b/photon-client/src/components/app/photon-sidebar.vue @@ -104,7 +104,7 @@ const mdAndUp = computed(() => getCurrentInstance()?.proxy.$vuetify.bre - {{ useStateStore().backendConnected ? "Backend Connected" : "Trying to connect to Backend" }} + {{ useStateStore().backendConnected ? "Backend connected" : "Trying to connect to backend" }} diff --git a/photon-client/src/components/common/cv-select.vue b/photon-client/src/components/common/cv-select.vue index bf9e35aa20..cc5ee815e3 100644 --- a/photon-client/src/components/common/cv-select.vue +++ b/photon-client/src/components/common/cv-select.vue @@ -35,6 +35,11 @@ const localValue = computed({ // Computed in case items changes const items = computed(() => { + // Trivial case for empty list; we have no data + if (!props.items.length) { + return []; + } + // Check if the prop exists on the object to infer object type if ((props.items[0] as SelectItem).name) { return props.items as SelectItem[]; diff --git a/photon-client/src/components/settings/NetworkingCard.vue b/photon-client/src/components/settings/NetworkingCard.vue index 3e7070cf60..93bb330165 100644 --- a/photon-client/src/components/settings/NetworkingCard.vue +++ b/photon-client/src/components/settings/NetworkingCard.vue @@ -1,9 +1,10 @@