Skip to content

Commit

Permalink
feat: fix link and prettify bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 13, 2024
1 parent bce98cf commit 82554d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
v-for="link in links"
:key="link.name"
:text="link.name"
:href="link.url"
@click="$router.push(link.url)"
:to="link.url"
variant="text"
>
</v-btn>
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/pages/workers/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<p></p>
Git commit: {{ worker.git_commit }}
<p></p>
Memory size: {{ worker.memory_bytes }}
Memory size: {{ prettyBytes(worker.memory_bytes) }}
<p></p>
Logical cores: {{ worker.logical_cores }}
<p></p>
Expand All @@ -29,6 +29,7 @@
</script>

<script lang="ts">
import prettyBytes from 'pretty-bytes';
import axios from 'axios';
import { hostname } from '@/common';
Expand Down

0 comments on commit 82554d9

Please sign in to comment.