Skip to content

Commit

Permalink
Merge pull request #8 from codenotary/feature/timestamp-support
Browse files Browse the repository at this point in the history
Feature/timestamp support
  • Loading branch information
Hextar authored Dec 9, 2021
2 parents 3f3d3b3 + 7c487fa commit 4e2e040
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "immudb-webconsole",
"version": "1.0.13",
"version": "1.0.14",
"private": true,
"scripts": {
"dev": "nuxt",
Expand Down
6 changes: 6 additions & 0 deletions src/components/query/output/grid/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@
</template>

<script>
import timeUtils from '@/mixins/timeUtils';
export default {
name: 'QueryOutputGridTable',
mixins: [timeUtils],
props: {
item: { type: Object, default: () => {} },
},
Expand Down Expand Up @@ -86,6 +89,9 @@ export default {
methods: {
extractValue (data) {
try {
if (data.ts) {
return this.printDate(data.ts / 1000000);
}
return data.n || data.s || data.f || data.b || data.d || data.bs;
}
catch (err) {
Expand Down

0 comments on commit 4e2e040

Please sign in to comment.