shwstppr commented on code in PR #7833:
URL: https://github.com/apache/cloudstack/pull/7833#discussion_r1289768787
##########
ui/src/components/view/DetailsTab.vue:
##########
@@ -51,6 +51,21 @@
{{ dataResource.rootdisksize }} GB
</div>
</div>
+ <div v-else-if="['template', 'iso'].includes($route.meta.name) &&
item === 'size'">
+ <div>
+ {{ parseFloat(dataResource.size / (1024.0 * 1024.0 *
1024.0)).toFixed(2) }} GB
Review Comment:
something for future maybe, we can have method for converting size into
string
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]