Skip to content

Commit

Permalink
fix voor gebruik verkeerde veld van e api voor bestandsnaam
Browse files Browse the repository at this point in the history
  • Loading branch information
mark stoker committed Feb 20, 2024
1 parent 465cdcc commit 178b609
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/zaaksysteem/components/ZaakDocumenten.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<a
:href="document.downloadUrl"
target="_blank"
:download="document.titel"
:download="document.bestandsnaam"
>> Downloaden</a
>
</td>
Expand Down
1 change: 1 addition & 0 deletions src/features/zaaksysteem/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ const mapDocument = (rawDocumenten: any, xx: string): ZaakDocument | null => {
id: rawDocumenten.identificatie,
titel: rawDocumenten.titel,
bestandsomvang: rawDocumenten.bestandsomvang,
bestandsnaam: rawDocumenten.bestandsnaam,
creatiedatum: new Date(rawDocumenten.creatiedatum),
vertrouwelijkheidaanduiding: rawDocumenten.vertrouwelijkheidaanduiding,
formaat: rawDocumenten.formaat,
Expand Down
1 change: 1 addition & 0 deletions src/features/zaaksysteem/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export interface ZaakDocument {
id: string;
titel: string;
bestandsomvang: number;
bestandsnaam: string;
creatiedatum: Date;
vertrouwelijkheidaanduiding: string;
formaat: string;
Expand Down

0 comments on commit 178b609

Please sign in to comment.