Skip to content
Snippets Groups Projects
Commit 8ba8facb authored by Bernhard Fürst's avatar Bernhard Fürst
Browse files

OZG-6989 OZG-7395 Fix visibility of Export menu item

parent 09c1043d
Branches
Tags
1 merge request!5OZG 6989 bugfixes
......@@ -47,6 +47,9 @@
></alfa-vorgang-archive-container>
</ozgcloud-menu-item>
<ozgcloud-menu-item
*ngIf="
vorgangWithEingang.status === vorgangStatus.ABGESCHLOSSEN && vorgangWithEingang | hasLink: vorgangWithEingangLinkRel.ARCHIVE
"
data-test-id="vorgang-exportieren-button"
headline="Vorgang exportieren"
text="Alle Informationen und Anhänge des Vorgangs zur Archivierung im DMS."
......
......@@ -51,6 +51,7 @@ export class VorgangDetailMoreMenuComponent implements OnChanges {
buttonEnabled: boolean = false;
readonly vorgangWithEingangLinkRel = VorgangWithEingangLinkRel;
readonly vorgangStatus = VorgangStatus;
constructor(private changeDetectorRef: ChangeDetectorRef) {}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment