Skip to content

Commit

Permalink
fixed responseTime being required
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Nov 26, 2024
1 parent 07f7efd commit e3c9f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Source/SourceDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ import { sourceStore, navigationStore, logStore } from '../../store/store.js'
<NcListItem v-for="(log, i) in sourceStore.sourceLogs"
:key="log.id + i"
:class="checkIfStatusIsOk(log.statusCode) ? 'okStatus' : 'errorStatus'"
:name="`${log.statusMessage} (response time: ${(log.response.responseTime / 1000).toFixed(3)} seconds)`"
:name="`${log.statusMessage} ${log.response?.responseTime ? `(response time: ${(log.response.responseTime / 1000).toFixed(3)} seconds)` : ''}`"
:bold="false"
:counter-number="log.statusCode"
:force-display-actions="true"
Expand Down

0 comments on commit e3c9f23

Please sign in to comment.