use baseUrl if downloadUrl is not available
This commit is contained in:
parent
97520e5c48
commit
703be4f53a
1 changed files with 2 additions and 2 deletions
|
|
@ -49,10 +49,10 @@ export default function AusgabeHertzschlag(params) {
|
|||
<button>
|
||||
<i class="fa fa-download"></i>Download
|
||||
<div class="dropdown">
|
||||
<a href="${json.downloadUrl}hertzschlag/pdf/compressed/${ausg["Ausgabe"]}.pdf">
|
||||
<a href="${json.downloadUrl || json.baseUrl}hertzschlag/pdf/compressed/${ausg["Ausgabe"]}.pdf">
|
||||
<i class="fa fa-file"></i>Niedrige Qualität
|
||||
</a>
|
||||
<a href="${json.downloadUrl}hertzschlag/pdf/${ausg["Ausgabe"]}.pdf">
|
||||
<a href="${json.downloadUrl || json.baseUrl}hertzschlag/pdf/${ausg["Ausgabe"]}.pdf">
|
||||
<i class="fa fa-file"></i>Hohe Qualität
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue