Skip to content

Commit

Permalink
Update client/src/components/Markdown/Elements/InvocationTime.vue
Browse files Browse the repository at this point in the history
Co-authored-by: Marius van den Beek <[email protected]>
  • Loading branch information
assuntad23 and mvdbeek authored Oct 10, 2023
1 parent 78b4546 commit 09dcba7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/src/components/Markdown/Elements/InvocationTime.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export default {
computed: {
content() {
const invocation = this.invocations[this.args.invocation_id];
const iso = new Date(invocation && invocation["create_time"]);
return iso.toUTCString();
return invocation && new Date(invocation["create_time"]).toUTCString();
},
},
};
Expand Down

0 comments on commit 09dcba7

Please sign in to comment.