We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f89aab5 commit e7a1872Copy full SHA for e7a1872
packages/app/src/runs/RunsEmpty.vue
@@ -85,7 +85,7 @@ const configFilePath = computed(() => props.gql.configFilePath)
85
const firstRecordKey = computed(() => {
86
const allRecordKeys = props.gql.cloudProject?.recordKeys
87
88
- return allRecordKeys?.length ? allRecordKeys[0] : '<record-key>'
+ return allRecordKeys?.[0] ?? '<record-key>'
89
})
90
const recordCommand = computed(() => {
91
return `cypress run --record --key ${firstRecordKey.value}`
0 commit comments