Skip to content

Commit

Permalink
fix: #488 Only enable timber sales manager when holder is timber sale…
Browse files Browse the repository at this point in the history
…s manager. (#551)

* Only enable timber sales manager when holder is timber sales manager.

* Dummy commit (no change) to deploy.

* Minor fixing.

* Remove await, ok to just issue requests.
  • Loading branch information
ianliuwk1019 authored Jan 8, 2024
1 parent 0b4ddbe commit 98c9a18
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions admin/src/app/foms/fom-add-edit/fom-add-edit.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ <h1 class="text-muted">{{isCreate ? 'Add New' : 'Edit'}} FOM {{isCreate ? '' : '
</div>
</div>
</div>
<div class="row">
<div class="row" *ngIf="isHolderBctsManger()">
<div class="form-group col">
<label [ngClass]="{'required': isHolderBctsManger()}">
Timber Sales Manager Name
Expand Down Expand Up @@ -271,9 +271,6 @@ <h1 class="text-muted">{{isCreate ? 'Add New' : 'Edit'}} FOM {{isCreate ? '' : '
{{getErrorMessage('bctsMgrName', 'maxLength')}}
</div>
</div>



</div>
<div class="row">
<div class="form-group col-md">
Expand Down
2 changes: 1 addition & 1 deletion admin/src/app/foms/summary/summary.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h4>Details</h4>
{{project?.forestClient?.name}}
</span>
</li>
<li *ngIf="project.bctsMgrName && project.bctsMgrName.length > 0">
<li *ngIf="project?.bctsMgrName && project.bctsMgrName.length > 0">
<span class="name">Timber Sales Manager Name:</span>
<span
class="value">
Expand Down
2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ These are the steps to generate the client library used by the frontend componen
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

2 changes: 1 addition & 1 deletion public/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
</app-root>
</body>

</html>
</html>

0 comments on commit 98c9a18

Please sign in to comment.