Bladeren bron

bugfix shortUrl replace of null

bach 2 jaren geleden
bovenliggende
commit
08fbc7359d

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


BIN
web/themes/custom/materiotheme/assets/dist/main.js.gz


File diff suppressed because it is too large
+ 1 - 1
web/themes/custom/materiotheme/assets/dist/report.html


+ 2 - 2
web/themes/custom/materiotheme/vuejs/components/Content/ModalCard.vue

@@ -148,7 +148,7 @@
                 <ul>
                   <li v-for="manu in material.manufacturer" v-bind:key="manu.id">
                     <h2>{{ manu.name }}</h2>
-                    <p v-if="manu.website">
+                    <p v-if="manu.website.url">
                       <a target="_blank" :href="manu.website.url">{{shortUrl(manu.website.url)}}</a>
                     </p>
                     <p v-if="manu.email"><a :href="'mailto:'+manu.email">{{ manu.email }}</a></p>
@@ -160,7 +160,7 @@
                 <ul>
                   <li v-for="distrib in material.distributor" v-bind:key="distrib.id">
                     <h2>{{ distrib.name }}</h2>
-                    <p v-if="distrib.website">
+                    <p v-if="distrib.website.url">
                       <a target="_blank" :href="distrib.website.url">{{shortUrl(distrib.website.url)}}</a>
                     </p>
                     <p v-if="distrib.email"><a :href="'mailto:'+distrib.email">{{ distrib.email }}</a></p>

Some files were not shown because too many files changed in this diff