Skip to content

Commit

Permalink
Merge pull request #238 from bcgov/dev
Browse files Browse the repository at this point in the history
Enabling General request for submission
  • Loading branch information
m-prodan authored Nov 20, 2023
2 parents 4bbe4d8 + 6a62bf2 commit ec790b4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ <h2>What type of information are you looking for?</h2>
<form [formGroup]="foiForm" novalidate (ngSubmit)="doContinue()">
<div class="form-group">
<label>
<input type="radio" value="general" formControlName="requestType" disabled="disabled" />
<input type="radio" value="general" formControlName="requestType" />
General information about government business
</label>
<label class="warning">
<!-- <label class="warning">
Due to a technical issue we have temporarily disabled submitting <b>general requests</b> through the online form. Please submit your FOI request through email to <a href="mailto:[email protected]">[email protected]</a>. We expect that the online form will be back online by November 21st.
</label>
</label> -->
</div>
<h2>
or
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.warning {
color: red;
font-size: 85%;
}
// .warning {
// color: red;
// font-size: 85%;
// }
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export class GettingStarted3Component implements OnInit {
this.targetKey,
this.foiForm
);
console.log(this.targetKey)
console.log(state.requestData[this.targetKey].requestType)
// console.log(this.targetKey)
// console.log(state.requestData[this.targetKey].requestType)
this.base.goFoiForward(state.requestData[this.targetKey].requestType);
}

Expand Down
6 changes: 3 additions & 3 deletions web/src/app/utils-components/base/base.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ export class BaseComponent implements OnInit {
}

goFoiForward(selection?: string) {
if(selection !== "general")
{
// if(selection !== "general")
// {
this.foiRouter.progress({ direction: 1, selection });
}
// }
}

goSkipForward() {
Expand Down

0 comments on commit ec790b4

Please sign in to comment.