Skip to content
Snippets Groups Projects
Commit 67c2abdc authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Made a settings button for the SECI auto deletion

parent e6d2c28b
No related branches found
No related tags found
2 merge requests!25Merge 2.4.3 UI to main,!20WS-1574 SECI auto delete settings button
......@@ -3,6 +3,7 @@ export class Setting {
allowJobDeletion: boolean;
allowProductDeletion: boolean;
allowAutomaticPims: boolean;
allowSeciPimsDeletion: boolean;
}
export class QueueSetting {
......
......@@ -56,6 +56,23 @@
<h5 class="m-0">Allow Automatic PIMs?</h5>
<p>Allows automatic PIMs-splitting on Quicklook-calibration ingestion through this interface</p>
</div>
<div class="col-1"></div>
<div class="col-auto">
<div class="btn-group">
<button type="button" class="btn btn-lg" (click)="updateSettings('allowSeciPimsDeletion', true)"
[ngClass]="settings.allowSeciPimsDeletion ? 'btn-success active' : 'btn-outline-success'">
Yes
</button>
<button type="button" class="btn btn-lg" (click)="updateSettings('allowSeciPimsDeletion', false)"
[ngClass]="!settings.allowSeciPimsDeletion ? 'btn-danger active' : 'btn-outline-danger'">
No
</button>
</div>
</div>
<div class="col">
<h5 class="m-0">Allow Automatic SECI PIMs Deletion?</h5>
<p>Allows automatic PIMs deletion upon SECI workflow completion through this interface</p>
</div>
</div>
</ng-container>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment