diff --git a/frontend/components/ItemViewer.vue b/frontend/components/ItemViewer.vue index ec12d15..b756de5 100644 --- a/frontend/components/ItemViewer.vue +++ b/frontend/components/ItemViewer.vue @@ -31,7 +31,7 @@ function trimBuilds(builds : Builds) { -

{{ item.count }}

+

{{ (item.count/builds.tree.count * 100).toFixed(0) }}%

@@ -46,7 +46,7 @@ function trimBuilds(builds : Builds) { -

{{ item.count }}

+

{{ (item.count/builds.tree.count * 100).toFixed(0) }}%

@@ -63,7 +63,7 @@ function trimBuilds(builds : Builds) { -

{{ item.count }}

+

{{ (item.count/builds.tree.count * 100).toFixed(0) }}%

@@ -78,7 +78,7 @@ function trimBuilds(builds : Builds) { -

{{ item.count }}

+

{{ (item.count/builds.tree.count * 100).toFixed(0) }}%

@@ -87,7 +87,7 @@ function trimBuilds(builds : Builds) { -

{{ item.count }}

+

{{ (item.count/builds.tree.count * 100).toFixed(0) }}%

diff --git a/frontend/components/TreeItem.vue b/frontend/components/TreeItem.vue index cb4efac..28346fb 100644 --- a/frontend/components/TreeItem.vue +++ b/frontend/components/TreeItem.vue @@ -1,6 +1,7 @@