Skip to content

Commit fbf17fc

Browse files
Ticket #99 : Display list of case plan instance
1 parent 334f0ec commit fbf17fc

51 files changed

Lines changed: 1216 additions & 169 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 127 additions & 156 deletions
Original file line numberDiff line numberDiff line change
@@ -1,165 +1,136 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<cmmn:definitions xmlns:dc="http://www.omg.org/spec/CMMN/20151109/DC" xmlns:cmmndi="http://www.omg.org/spec/CMMN/20151109/CMMNDI" xmlns:cmmn="http://www.omg.org/spec/CMMN/20151109/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cmg="https://github.com/simpleidserver/CaseManagement" xmlns:di="http://www.omg.org/spec/CMMN/20151109/DI" id="Definitions_0m2br72" targetNamespace="http://bpmn.io/schema/cmmn" exporter="cmmn-js (https://demo.bpmn.io/cmmn)" exporterVersion="0.19.2">
3-
<cmmn:case id="Case_0t7z7vp">
4-
<cmmn:casePlanModel id="CasePlanModel_3394a428-486a-43f5-b491-7b31e417e0db" name="Claim case">
5-
<cmmn:planItem id="PlanItem_0zl4ucq" name="Receive claim" definitionRef="Stage_1elok9z">
6-
<cmmn:exitCriterion id="EntryCriterion_10sv3fr" sentryRef="Sentry_0ha3wvd" />
7-
</cmmn:planItem>
8-
<cmmn:planItem id="PlanItem_06ni5ek" definitionRef="UserEventListener_0v5hy7p" />
9-
<cmmn:planItem id="PlanItem_1rr8i0e" definitionRef="HumanTask_1g95uki">
10-
<cmmn:itemControl id="PlanItemControl_0h48cmw">
11-
<cmmn:repetitionRule id="RepetitionRule_1yoxx24" />
12-
<cmmn:manualActivationRule id="ManualActivationRule_0397xyu" />
13-
</cmmn:itemControl>
14-
</cmmn:planItem>
15-
<cmmn:sentry id="Sentry_0ha3wvd">
16-
<cmmn:planItemOnPart id="PlanItemOnPart_02kuu3j" sourceRef="PlanItem_0e5dwiz">
17-
<cmmn:standardEvent>occur</cmmn:standardEvent>
18-
</cmmn:planItemOnPart>
19-
</cmmn:sentry>
20-
<cmmn:sentry id="Sentry_1c1yauv">
21-
<cmmn:planItemOnPart id="PlanItemOnPart_1s246e2" sourceRef="PlanItem_06ni5ek">
22-
<cmmn:standardEvent>occur</cmmn:standardEvent>
23-
</cmmn:planItemOnPart>
24-
</cmmn:sentry>
25-
<cmmn:stage id="Stage_1elok9z" name="Receive claim">
26-
<cmmn:planItem id="PlanItem_0e5dwiz" definitionRef="UserEventListener_0b5z4ka" />
27-
<cmmn:planItem id="PlanItem_126vzmb" definitionRef="HumanTask_1a25x7y">
28-
<cmmn:itemControl id="PlanItemControl_05qv33h">
29-
<cmmn:manualActivationRule id="ManualActivationRule_1wudpq3" />
3+
<cmmn:case id="Case_0t7z7vp">
4+
<cmmn:casePlanModel id="CasePlanModel_3394a428-486a-43f5-b491-7b31e417e0db" name="Claim case">
5+
<cmmn:planItem id="PlanItem_0zl4ucq" name="Receive claim" definitionRef="Stage_1elok9z" />
6+
<cmmn:planItem id="PlanItem_1rr8i0e" definitionRef="HumanTask_1g95uki">
7+
<cmmn:itemControl id="PlanItemControl_0h48cmw">
8+
<cmmn:repetitionRule id="RepetitionRule_1yoxx24">
9+
<cmmn:condition>true</cmmn:condition>
10+
</cmmn:repetitionRule>
11+
<cmmn:manualActivationRule id="ManualActivationRule_0397xyu">
12+
<cmmn:condition>true</cmmn:condition>
13+
</cmmn:manualActivationRule>
3014
</cmmn:itemControl>
31-
<cmmn:entryCriterion id="EntryCriterion_0dhxom1" sentryRef="Sentry_0e1zurk" />
3215
</cmmn:planItem>
33-
<cmmn:planItem id="PlanItem_1luzv09" definitionRef="HumanTask_10h2w5m">
34-
<cmmn:itemControl id="PlanItemControl_08elreb">
35-
<cmmn:manualActivationRule id="ManualActivationRule_0hl6irg" />
36-
</cmmn:itemControl>
37-
<cmmn:entryCriterion id="EntryCriterion_1boeqq0" sentryRef="Sentry_0bz27li" />
38-
</cmmn:planItem>
39-
<cmmn:planItem id="PlanItem_04q2jwn" definitionRef="HumanTask_1ewr6eu">
40-
<cmmn:itemControl id="PlanItemControl_0xs9xli">
41-
<cmmn:manualActivationRule id="ManualActivationRule_077ohgl" />
42-
</cmmn:itemControl>
43-
</cmmn:planItem>
44-
<cmmn:planItem id="PlanItem_1dphpiz" name="Capture claim details" definitionRef="HumanTask_1oeedji" />
45-
<cmmn:sentry id="Sentry_0e1zurk">
46-
<cmmn:planItemOnPart id="PlanItemOnPart_1preadf" sourceRef="PlanItem_04q2jwn">
47-
<cmmn:standardEvent>start</cmmn:standardEvent>
48-
</cmmn:planItemOnPart>
49-
</cmmn:sentry>
50-
<cmmn:sentry id="Sentry_0bz27li">
51-
<cmmn:planItemOnPart id="PlanItemOnPart_0ky2brq" sourceRef="PlanItem_126vzmb">
52-
<cmmn:standardEvent>start</cmmn:standardEvent>
53-
</cmmn:planItemOnPart>
54-
</cmmn:sentry>
55-
<cmmn:humanTask id="HumanTask_1oeedji" cmg:formId="captureClaimDetails" cmg:implementation="##WsHumanTask">
56-
<cmmn:extensionElements>
57-
<cmg:parameters />
58-
</cmmn:extensionElements>
59-
</cmmn:humanTask>
60-
<cmmn:humanTask id="HumanTask_1ewr6eu" name="Need 3rd party report" cmg:implementation="##WsHumanTask">
16+
<cmmn:stage id="Stage_1elok9z" name="Receive claim">
17+
<cmmn:planItem id="PlanItem_126vzmb" definitionRef="HumanTask_1a25x7y">
18+
<cmmn:itemControl id="PlanItemControl_05qv33h">
19+
<cmmn:manualActivationRule id="ManualActivationRule_1wudpq3">
20+
<cmmn:condition>true</cmmn:condition>
21+
</cmmn:manualActivationRule>
22+
</cmmn:itemControl>
23+
<cmmn:entryCriterion id="EntryCriterion_0dhxom1" sentryRef="Sentry_0e1zurk" />
24+
</cmmn:planItem>
25+
<cmmn:planItem id="PlanItem_1luzv09" definitionRef="HumanTask_10h2w5m">
26+
<cmmn:itemControl id="PlanItemControl_08elreb">
27+
<cmmn:manualActivationRule id="ManualActivationRule_0hl6irg">
28+
<cmmn:condition>true</cmmn:condition>
29+
</cmmn:manualActivationRule>
30+
</cmmn:itemControl>
31+
<cmmn:entryCriterion id="EntryCriterion_1boeqq0" sentryRef="Sentry_0bz27li" />
32+
</cmmn:planItem>
33+
<cmmn:planItem id="PlanItem_04q2jwn" definitionRef="HumanTask_1ewr6eu">
34+
<cmmn:itemControl id="PlanItemControl_0xs9xli">
35+
<cmmn:manualActivationRule id="ManualActivationRule_077ohgl">
36+
<cmmn:condition>true</cmmn:condition>
37+
</cmmn:manualActivationRule>
38+
</cmmn:itemControl>
39+
</cmmn:planItem>
40+
<cmmn:planItem id="PlanItem_1dphpiz" name="Capture claim details" definitionRef="HumanTask_1oeedji" />
41+
<cmmn:sentry id="Sentry_0e1zurk">
42+
<cmmn:planItemOnPart id="PlanItemOnPart_1preadf" sourceRef="PlanItem_04q2jwn">
43+
<cmmn:standardEvent>start</cmmn:standardEvent>
44+
</cmmn:planItemOnPart>
45+
</cmmn:sentry>
46+
<cmmn:sentry id="Sentry_0bz27li">
47+
<cmmn:planItemOnPart id="PlanItemOnPart_0ky2brq" sourceRef="PlanItem_126vzmb">
48+
<cmmn:standardEvent>start</cmmn:standardEvent>
49+
</cmmn:planItemOnPart>
50+
</cmmn:sentry>
51+
<cmmn:humanTask id="HumanTask_1oeedji" cmg:formId="captureClaimDetails" cmg:implementation="##WsHumanTask">
52+
<cmmn:extensionElements>
53+
<cmg:parameters />
54+
</cmmn:extensionElements>
55+
</cmmn:humanTask>
56+
<cmmn:humanTask id="HumanTask_1ewr6eu" name="Need 3rd party report" cmg:implementation="##WsHumanTask">
57+
<cmmn:extensionElements>
58+
<cmg:parameters />
59+
</cmmn:extensionElements>
60+
</cmmn:humanTask>
61+
<cmmn:humanTask id="HumanTask_10h2w5m" name="Need legal review">
62+
<cmmn:extensionElements>
63+
<cmg:parameters />
64+
</cmmn:extensionElements>
65+
</cmmn:humanTask>
66+
<cmmn:humanTask id="HumanTask_1a25x7y" name="Add incident report from police">
67+
<cmmn:extensionElements>
68+
<cmg:parameters />
69+
</cmmn:extensionElements>
70+
</cmmn:humanTask>
71+
</cmmn:stage>
72+
<cmmn:humanTask id="HumanTask_1g95uki" name="Update claimant contact details">
6173
<cmmn:extensionElements>
6274
<cmg:parameters />
6375
</cmmn:extensionElements>
6476
</cmmn:humanTask>
65-
<cmmn:humanTask id="HumanTask_10h2w5m" name="Need legal review" />
66-
<cmmn:humanTask id="HumanTask_1a25x7y" name="Add incident report from police" />
67-
<cmmn:userEventListener id="UserEventListener_0b5z4ka" name="Details completed" />
68-
</cmmn:stage>
69-
<cmmn:userEventListener id="UserEventListener_0v5hy7p" name="Abandon claim" />
70-
<cmmn:humanTask id="HumanTask_1g95uki" name="Update claimant contact details" />
71-
<cmmn:exitCriterion id="ExitCriterion_0kegzv8" sentryRef="Sentry_1c1yauv" />
72-
</cmmn:casePlanModel>
73-
</cmmn:case>
74-
<cmmndi:CMMNDI>
75-
<cmmndi:CMMNDiagram id="CMMNDiagram_1">
76-
<cmmndi:Size width="500" height="500" />
77-
<cmmndi:CMMNShape id="DI_CasePlanModel_3394a428-486a-43f5-b491-7b31e417e0db" cmmnElementRef="CasePlanModel_3394a428-486a-43f5-b491-7b31e417e0db">
78-
<dc:Bounds x="143" y="72" width="723" height="316" />
79-
<cmmndi:CMMNLabel />
80-
</cmmndi:CMMNShape>
81-
<cmmndi:CMMNShape id="PlanItem_1qbrgp3_di" cmmnElementRef="PlanItem_1dphpiz">
82-
<dc:Bounds x="188" y="139" width="100" height="80" />
83-
<cmmndi:CMMNLabel />
84-
</cmmndi:CMMNShape>
85-
<cmmndi:CMMNShape id="PlanItem_0zl4ucq_di" cmmnElementRef="PlanItem_0zl4ucq">
86-
<dc:Bounds x="163" y="109" width="552" height="259" />
87-
<cmmndi:CMMNLabel />
88-
</cmmndi:CMMNShape>
89-
<cmmndi:CMMNShape id="PlanItem_0lyn418_di" cmmnElementRef="PlanItem_04q2jwn">
90-
<dc:Bounds x="188" y="237" width="100" height="80" />
91-
<cmmndi:CMMNLabel />
92-
</cmmndi:CMMNShape>
93-
<cmmndi:CMMNShape id="EntryCriterion_0dhxom1_di" cmmnElementRef="EntryCriterion_0dhxom1">
94-
<dc:Bounds x="366" y="264" width="20" height="28" />
95-
<cmmndi:CMMNLabel />
96-
</cmmndi:CMMNShape>
97-
<cmmndi:CMMNEdge id="PlanItemOnPart_1preadf_di" cmmnElementRef="PlanItemOnPart_1preadf" targetCMMNElementRef="EntryCriterion_0dhxom1" isStandardEventVisible="true">
98-
<di:waypoint x="288" y="277" />
99-
<di:waypoint x="327" y="277" />
100-
<di:waypoint x="327" y="278" />
101-
<di:waypoint x="366" y="278" />
102-
<cmmndi:CMMNLabel>
103-
<dc:Bounds x="320" y="256" width="28" height="13" />
104-
</cmmndi:CMMNLabel>
105-
</cmmndi:CMMNEdge>
106-
<cmmndi:CMMNShape id="EntryCriterion_1boeqq0_di" cmmnElementRef="EntryCriterion_1boeqq0">
107-
<dc:Bounds x="539" y="263" width="20" height="28" />
108-
<cmmndi:CMMNLabel />
109-
</cmmndi:CMMNShape>
110-
<cmmndi:CMMNEdge id="PlanItemOnPart_0ky2brq_di" cmmnElementRef="PlanItemOnPart_0ky2brq" targetCMMNElementRef="EntryCriterion_1boeqq0" isStandardEventVisible="true">
111-
<di:waypoint x="476" y="277" />
112-
<di:waypoint x="539" y="277" />
113-
<cmmndi:CMMNLabel>
114-
<dc:Bounds x="496" y="257" width="28" height="13" />
115-
</cmmndi:CMMNLabel>
116-
</cmmndi:CMMNEdge>
117-
<cmmndi:CMMNShape id="PlanItem_0ijgrsu_di" cmmnElementRef="PlanItem_1luzv09">
118-
<dc:Bounds x="549" y="237" width="100" height="80" />
119-
<cmmndi:CMMNLabel />
120-
</cmmndi:CMMNShape>
121-
<cmmndi:CMMNShape id="PlanItem_034e7kx_di" cmmnElementRef="PlanItem_126vzmb">
122-
<dc:Bounds x="376" y="237" width="100" height="80" />
123-
<cmmndi:CMMNLabel />
124-
</cmmndi:CMMNShape>
125-
<cmmndi:CMMNShape id="PlanItem_1t6gwi3_di" cmmnElementRef="PlanItem_0e5dwiz">
126-
<dc:Bounds x="581" y="138" width="36" height="36" />
127-
<cmmndi:CMMNLabel>
128-
<dc:Bounds x="555" y="174" width="88" height="13" />
129-
</cmmndi:CMMNLabel>
130-
</cmmndi:CMMNShape>
131-
<cmmndi:CMMNShape id="ExitCriterion_14e4rgr_di" cmmnElementRef="EntryCriterion_10sv3fr">
132-
<dc:Bounds x="705" y="142" width="20" height="28" />
133-
<cmmndi:CMMNLabel />
134-
</cmmndi:CMMNShape>
135-
<cmmndi:CMMNEdge id="PlanItemOnPart_02kuu3j_di" cmmnElementRef="PlanItemOnPart_02kuu3j" targetCMMNElementRef="EntryCriterion_10sv3fr" isStandardEventVisible="true">
136-
<di:waypoint x="617" y="156" />
137-
<di:waypoint x="705" y="156" />
138-
<cmmndi:CMMNLabel>
139-
<dc:Bounds x="644" y="146" width="34" height="13" />
140-
</cmmndi:CMMNLabel>
141-
</cmmndi:CMMNEdge>
142-
<cmmndi:CMMNShape id="PlanItem_196pr31_di" cmmnElementRef="PlanItem_06ni5ek">
143-
<dc:Bounds x="739" y="273" width="36" height="36" />
144-
<cmmndi:CMMNLabel>
145-
<dc:Bounds x="719" y="309" width="75" height="13" />
146-
</cmmndi:CMMNLabel>
147-
</cmmndi:CMMNShape>
148-
<cmmndi:CMMNShape id="ExitCriterion_0kegzv8_di" cmmnElementRef="ExitCriterion_0kegzv8">
149-
<dc:Bounds x="856" y="277" width="20" height="28" />
150-
<cmmndi:CMMNLabel />
151-
</cmmndi:CMMNShape>
152-
<cmmndi:CMMNEdge id="PlanItemOnPart_1s246e2_di" cmmnElementRef="PlanItemOnPart_1s246e2" targetCMMNElementRef="ExitCriterion_0kegzv8" isStandardEventVisible="true">
153-
<di:waypoint x="775" y="291" />
154-
<di:waypoint x="856" y="291" />
155-
<cmmndi:CMMNLabel>
156-
<dc:Bounds x="799" y="281" width="34" height="13" />
157-
</cmmndi:CMMNLabel>
158-
</cmmndi:CMMNEdge>
159-
<cmmndi:CMMNShape id="PlanItem_0iax7t3_di" cmmnElementRef="PlanItem_1rr8i0e">
160-
<dc:Bounds x="744" y="136" width="100" height="80" />
161-
<cmmndi:CMMNLabel />
162-
</cmmndi:CMMNShape>
163-
</cmmndi:CMMNDiagram>
164-
</cmmndi:CMMNDI>
77+
</cmmn:casePlanModel>
78+
</cmmn:case>
79+
<cmmndi:CMMNDI>
80+
<cmmndi:CMMNDiagram id="CMMNDiagram_1">
81+
<cmmndi:Size width="500" height="500" />
82+
<cmmndi:CMMNShape id="DI_CasePlanModel_3394a428-486a-43f5-b491-7b31e417e0db" cmmnElementRef="CasePlanModel_3394a428-486a-43f5-b491-7b31e417e0db">
83+
<dc:Bounds x="143" y="72" width="723" height="316" />
84+
<cmmndi:CMMNLabel />
85+
</cmmndi:CMMNShape>
86+
<cmmndi:CMMNShape id="PlanItem_1qbrgp3_di" cmmnElementRef="PlanItem_1dphpiz">
87+
<dc:Bounds x="188" y="139" width="100" height="80" />
88+
<cmmndi:CMMNLabel />
89+
</cmmndi:CMMNShape>
90+
<cmmndi:CMMNShape id="PlanItem_0zl4ucq_di" cmmnElementRef="PlanItem_0zl4ucq">
91+
<dc:Bounds x="163" y="109" width="552" height="259" />
92+
<cmmndi:CMMNLabel />
93+
</cmmndi:CMMNShape>
94+
<cmmndi:CMMNShape id="PlanItem_0lyn418_di" cmmnElementRef="PlanItem_04q2jwn">
95+
<dc:Bounds x="188" y="237" width="100" height="80" />
96+
<cmmndi:CMMNLabel />
97+
</cmmndi:CMMNShape>
98+
<cmmndi:CMMNShape id="EntryCriterion_0dhxom1_di" cmmnElementRef="EntryCriterion_0dhxom1">
99+
<dc:Bounds x="366" y="264" width="20" height="28" />
100+
<cmmndi:CMMNLabel />
101+
</cmmndi:CMMNShape>
102+
<cmmndi:CMMNEdge id="PlanItemOnPart_1preadf_di" cmmnElementRef="PlanItemOnPart_1preadf" targetCMMNElementRef="EntryCriterion_0dhxom1" isStandardEventVisible="true">
103+
<di:waypoint x="288" y="277" />
104+
<di:waypoint x="327" y="277" />
105+
<di:waypoint x="327" y="278" />
106+
<di:waypoint x="366" y="278" />
107+
<cmmndi:CMMNLabel>
108+
<dc:Bounds x="320" y="256" width="28" height="13" />
109+
</cmmndi:CMMNLabel>
110+
</cmmndi:CMMNEdge>
111+
<cmmndi:CMMNShape id="EntryCriterion_1boeqq0_di" cmmnElementRef="EntryCriterion_1boeqq0">
112+
<dc:Bounds x="539" y="263" width="20" height="28" />
113+
<cmmndi:CMMNLabel />
114+
</cmmndi:CMMNShape>
115+
<cmmndi:CMMNEdge id="PlanItemOnPart_0ky2brq_di" cmmnElementRef="PlanItemOnPart_0ky2brq" targetCMMNElementRef="EntryCriterion_1boeqq0" isStandardEventVisible="true">
116+
<di:waypoint x="476" y="277" />
117+
<di:waypoint x="539" y="277" />
118+
<cmmndi:CMMNLabel>
119+
<dc:Bounds x="496" y="257" width="28" height="13" />
120+
</cmmndi:CMMNLabel>
121+
</cmmndi:CMMNEdge>
122+
<cmmndi:CMMNShape id="PlanItem_0ijgrsu_di" cmmnElementRef="PlanItem_1luzv09">
123+
<dc:Bounds x="549" y="237" width="100" height="80" />
124+
<cmmndi:CMMNLabel />
125+
</cmmndi:CMMNShape>
126+
<cmmndi:CMMNShape id="PlanItem_034e7kx_di" cmmnElementRef="PlanItem_126vzmb">
127+
<dc:Bounds x="376" y="237" width="100" height="80" />
128+
<cmmndi:CMMNLabel />
129+
</cmmndi:CMMNShape>
130+
<cmmndi:CMMNShape id="PlanItem_0iax7t3_di" cmmnElementRef="PlanItem_1rr8i0e">
131+
<dc:Bounds x="744" y="136" width="100" height="80" />
132+
<cmmndi:CMMNLabel />
133+
</cmmndi:CMMNShape>
134+
</cmmndi:CMMNDiagram>
135+
</cmmndi:CMMNDI>
165136
</cmmn:definitions>

src/CaseManagement.Tasklist.Website/CaseManagement.Tasklist.Website.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
<TypeScriptToolsVersion>3.6</TypeScriptToolsVersion>
55
</PropertyGroup>
66
<ItemGroup>
7+
<None Remove="angularApp\app\stores\cases\models\caseinstance.model.ts" />
8+
<None Remove="angularApp\app\stores\cases\models\caseplaninstancefileitem.model.ts" />
9+
<None Remove="angularApp\app\stores\cases\models\caseplaniteminstance.model.ts" />
10+
<None Remove="angularApp\app\stores\cases\models\transitionhistory.model.ts" />
711
<None Remove="angularApp\app\stores\notifications\models\notification.model.ts" />
812
</ItemGroup>
913
<ItemGroup>
@@ -13,6 +17,12 @@
1317
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
1418
</ItemGroup>
1519
<ItemGroup>
20+
<TypeScriptCompile Include="angularApp\app\stores\cases\models\caseinstance.model.ts">
21+
<SubType>Code</SubType>
22+
</TypeScriptCompile>
23+
<TypeScriptCompile Include="angularApp\app\stores\cases\models\caseplaninstancefileitem.model.ts" />
24+
<TypeScriptCompile Include="angularApp\app\stores\cases\models\caseplaniteminstance.model.ts" />
25+
<TypeScriptCompile Include="angularApp\app\stores\cases\models\transitionhistory.model.ts" />
1626
<TypeScriptCompile Include="angularApp\app\stores\notifications\models\notification.model.ts" />
1727
</ItemGroup>
1828
</Project>

src/CaseManagement.Tasklist.Website/angularApp/app/app.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<mat-list-item>TaskList <button (click)="drawer.close()" mat-icon-button><mat-icon>close</mat-icon></button></mat-list-item>
55
<a *ngIf="isConnected" [routerLink]="['/tasks']" mat-list-item href="#">{{ "MENU.TASKS" | translate }}</a>
66
<a *ngIf="isConnected" [routerLink]="['/notifications']" mat-list-item href="#">{{ "MENU.NOTIFICATIONS" | translate }}</a>
7+
<a *ngIf="isConnected" [routerLink]="['/cases']" mat-list-item href="#">{{ "MENU.CASES" | translate }}</a>
78
<a href="#" *ngIf="!isConnected" (click)="login($event)" mat-button>{{ "MENU.AUTHENTICATE" | translate }}</a>
89
<a href="#" *ngIf="!isConnected" (click)="chooseSession($event)" mat-button>{{ "MENU.CHOOSE_SESSION" | translate }}</a>
910
</mat-list>
@@ -18,6 +19,7 @@
1819
<div fxShow="true" fxHide.lt-md="true">
1920
<a *ngIf="isConnected" [routerLink]="['/tasks']" mat-button href="#">{{ "MENU.TASKS" | translate }}</a>
2021
<a *ngIf="isConnected" [routerLink]="['/notifications']" mat-button href="#">{{ "MENU.NOTIFICATIONS" | translate }}</a>
22+
<a *ngIf="isConnected" [routerLink]="['/cases']" mat-button href="#">{{ 'MENU.CASES' | translate }}</a>
2123
</div>
2224
<span class="navigation-spacer"></span>
2325
<div fxShow="true" fxHide.lt-md="true">

src/CaseManagement.Tasklist.Website/angularApp/app/app.module.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import { NotificationsEffects } from './stores/notifications/effects/notificatio
2121
import { TasksEffects } from './stores/tasks/effects/tasks.effects';
2222
import { TasksService } from './stores/tasks/services/tasks.service';
2323
import { NotificationsService } from './stores/notifications/services/notifications.service';
24+
import { CasesService } from './stores/cases/services/cases.service';
25+
import { CasesEffects } from './stores/cases/effects/cases.effects';
2426

2527
export function createTranslateLoader(http: HttpClient) {
2628
const url = process.env.BASE_URL + 'assets/i18n/';
@@ -38,7 +40,7 @@ export function createTranslateLoader(http: HttpClient) {
3840
BrowserAnimationsModule,
3941
HttpClientModule,
4042
OAuthModule.forRoot(),
41-
EffectsModule.forRoot([TasksEffects, NotificationsEffects]),
43+
EffectsModule.forRoot([TasksEffects, NotificationsEffects, CasesEffects]),
4244
StoreModule.forRoot(appReducer),
4345
StoreDevtoolsModule.instrument({
4446
maxAge: 10
@@ -55,6 +57,6 @@ export function createTranslateLoader(http: HttpClient) {
5557
AppComponent
5658
],
5759
bootstrap: [AppComponent],
58-
providers: [AuthGuard, TasksService, NotificationsService]
60+
providers: [AuthGuard, TasksService, NotificationsService, CasesService]
5961
})
6062
export class AppModule { }

0 commit comments

Comments
 (0)