Fixed Preview

This commit is contained in:
chris2fr 2020-10-17 15:22:06 +02:00
parent ee39604fc9
commit ae11f3a8a0
2 changed files with 7 additions and 2 deletions

View File

@ -204,6 +204,9 @@ var app = new Vue({
}, },
languageFluencyAsPercent: function(index) languageFluencyAsPercent: function(index)
{ {
if (!this.$root.sections.skills[index]) {
return 100;
}
var fluency = this.$root.sections.skills[index].level; var fluency = this.$root.sections.skills[index].level;
if (fluency.toLowerCase() == "master" || fluency.toLowerCase() == "expert") if (fluency.toLowerCase() == "master" || fluency.toLowerCase() == "expert")

View File

@ -951,7 +951,6 @@
<!-- Left Column --> <!-- Left Column -->
<div class="w3-third"> <div class="w3-third">
<div class="w3-white w3-text-grey w3-card-4"> <div class="w3-white w3-text-grey w3-card-4">
<div class="w3-display-container"> <div class="w3-display-container">
<img v-bind:src="$root.sections.basics.picture" style="width:100%" alt="Avatar"> <img v-bind:src="$root.sections.basics.picture" style="width:100%" alt="Avatar">
@ -995,6 +994,9 @@
<!-- End Left Column --> <!-- End Left Column -->
</div> </div>
</div>
<!-- Right Column --> <!-- Right Column -->
<div class="w3-twothird"> <div class="w3-twothird">
<!-- Work --> <!-- Work -->
@ -1212,7 +1214,7 @@
</div> </div>
<!-- /Right Column --> <!-- /Right Column -->
</div>
<!-- /Grid --> <!-- /Grid -->
</div> </div>