From ae11f3a8a0c8a7587cec7fa0326821b082b94912 Mon Sep 17 00:00:00 2001 From: chris2fr Date: Sat, 17 Oct 2020 15:22:06 +0200 Subject: [PATCH] Fixed Preview --- app/app.js | 3 +++ index.html | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/app.js b/app/app.js index abea1aa..39ce7bc 100644 --- a/app/app.js +++ b/app/app.js @@ -204,6 +204,9 @@ var app = new Vue({ }, languageFluencyAsPercent: function(index) { + if (!this.$root.sections.skills[index]) { + return 100; + } var fluency = this.$root.sections.skills[index].level; if (fluency.toLowerCase() == "master" || fluency.toLowerCase() == "expert") diff --git a/index.html b/index.html index b1df5d8..4e6b4c6 100644 --- a/index.html +++ b/index.html @@ -951,7 +951,6 @@
-
Avatar @@ -995,6 +994,9 @@
+ +
+
@@ -1212,7 +1214,7 @@
-
+