rohityadavcloud commented on code in PR #7833:
URL: https://github.com/apache/cloudstack/pull/7833#discussion_r1289778355
##########
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:
Yeah I couldn't figure how to have like a global utility of some kind
(because then to use it, you'll need to import it everywhere). @shwstppr
suggestions welcome.
--
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]