Commit 77ba6ad3 authored by Romain DELEAU's avatar Romain DELEAU

close prerequire on change selected piece

parent 52b9b095
......@@ -51,7 +51,7 @@
</div>
</div>
<div class="piece-prerequires" [class]="displayPrequires">
<div class="piece-prerequires" [class]="pieceDetailsService.piece == task ? displayPrequires : 'hide'">
<div class="piece-prerequires-prerequires">
<label class="piece-prerequires-title">Antécédents</label>
<div class="piece-prerequires-form">
......
......@@ -79,7 +79,7 @@
</div>
</div>
<div class="piece-prerequires" [class]="displayPrequires">
<div class="piece-prerequires" [class]="pieceDetailsService.piece == task ? displayPrequires : 'hide'">
<div class="piece-prerequires-prerequires">
<label class="piece-prerequires-title">Antécédents</label>
<div class="piece-prerequires-form">
......
......@@ -80,7 +80,7 @@
</div>
</div>
<div class="piece-prerequires" [class]="displayPrequires">
<div class="piece-prerequires" [class]="pieceDetailsService.piece == task ? displayPrequires : 'hide'">
<div class="piece-prerequires-prerequires">
<label class="piece-prerequires-title">Antécédents</label>
<div class="piece-prerequires-form">
......
......@@ -68,7 +68,7 @@
</div>
</div>
<div class="piece-prerequires" [class]="displayPrequires">
<div class="piece-prerequires" [class]="pieceDetailsService.piece == task ? displayPrequires : 'hide'">
<div class="piece-prerequires-prerequires">
<label class="piece-prerequires-title">Antécédents</label>
<div class="piece-prerequires-form">
......
......@@ -78,7 +78,7 @@
</div>
</div>
<div class="piece-prerequires" [class]="displayPrequires">
<div class="piece-prerequires" [class]="pieceDetailsService.piece == task ? displayPrequires : 'hide'">
<div class="piece-prerequires-prerequires">
<label class="piece-prerequires-title">Antécédents</label>
<div class="piece-prerequires-form">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment