bugfix shortUrl replace of null
This commit is contained in:
parent
3107ff72db
commit
08fbc7359d
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue