From 21d3e94a3fce5284b6e72e5ef7baca44bf93f30f Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 12 Apr 2018 18:07:23 +0200 Subject: [PATCH] fix(ui): display 0 instead of NaN --- .../@vue/cli-ui-addon-build/src/components/BuildProgress.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@vue/cli-ui-addon-build/src/components/BuildProgress.vue b/packages/@vue/cli-ui-addon-build/src/components/BuildProgress.vue index 4c1e8ba6a0..b7158ae194 100644 --- a/packages/@vue/cli-ui-addon-build/src/components/BuildProgress.vue +++ b/packages/@vue/cli-ui-addon-build/src/components/BuildProgress.vue @@ -8,7 +8,7 @@ />
- {{ Math.round(progress * 100) }} + {{ typeof progress === 'number' ? Math.round(progress * 100) : 0 }}