Skip to content

Commit

Permalink
Update table to show the submtted at timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
tobytwigger committed May 4, 2020
1 parent d0d3957 commit 09b1291
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/modules/typeform/js/module.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion resources/js/components/responses/Responses.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<template v-slot:cell(activityInstanceBy)="data">
<span>{{data.item.identifier}}</span>
</template>
<template v-slot:cell(submittedAt)="data">
<span>{{data.item.submitted_at}}</span>
</template>
<template v-slot:cell()="data">
<div v-if="data.value.type === 'file_url'">
<cell-file_url :value="data.value.id" :query-string="queryString"></cell-file_url>
Expand Down Expand Up @@ -171,7 +174,7 @@
}
return false;
}));
fields.push({key: 'submitted_at', label: 'Submitted At'})
fields.push({key: 'submittedAt', label: 'Submitted At'})
if(this.allowApproval) {
fields.push({key: 'approved', label: 'Approval'})
}
Expand Down

0 comments on commit 09b1291

Please sign in to comment.