Skip to content

Commit

Permalink
Error mgmt
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 18, 2024
1 parent e0e930d commit 970e6b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manager2/src/app/project/project.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h3>Request a new project creation</h3>
</div>
</div>

<div class="form-group" *ngIf="config.project.terms_and_conditions_hds">
<div class="form-group" *ngIf="config.project && config.project.terms_and_conditions_hds">
<div class="form-check">
<input class="form-check-input is-invalid" type="checkbox" value="" id="new_project_terms_and_conditions_hds" name="terms_and_conditions_hds" [(ngModel)]="new_project.terms_and_conditions_hds" #terms_and_conditions_hds="ngModel" required>
<label class="form-check-label" for="new_project_terms_and_conditions_hds">
Expand All @@ -77,7 +77,7 @@ <h3>Request a new project creation</h3>
<div class="modal-footer" id="submit">
<div class="form-group row col-sm-12">
<!-- Button with terms_and_conditions_hds -->
<button *ngIf="config.project.terms_and_conditions_hds"
<button *ngIf="config.project && config.project.terms_and_conditions_hds"
id="test"
type="submit"
class="p-button p-button-sm p-button-primary"
Expand All @@ -87,7 +87,7 @@ <h3>Request a new project creation</h3>
</button>

<!-- Button without terms_and_conditions_hds -->
<button *ngIf="!config.project.terms_and_conditions_hds"
<button *ngIf="!(config.project && config.project.terms_and_conditions_hds)"
id="test"
type="submit"
class="p-button p-button-sm p-button-primary"
Expand Down Expand Up @@ -348,4 +348,4 @@ <h4 class="modal-title">Terms and Conditions HDS</h4>
</div>
</div>
</div>
</div>
</div>

0 comments on commit 970e6b8

Please sign in to comment.