bcgov / name-examination

Service BC Name Examination System
4 stars 36 forks source link

For NRs in draft status that have not been edited. Made examiner name display as current examiner #1463

Closed EPortman closed 5 months ago

EPortman commented 5 months ago

…is instead the username of examiner logged in

Issue #:

Description of changes: Made the examiner a computed property that displays the current examiner if it is one of the defaults. This change ensures that the examiner's name is shown only for display purposes and is not saved. This way, an examiner can view a ticket without editing it, keeping the ticket in 'open' status and allowing another examiner to claim it later with their own name.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

EPortman commented 5 months ago

/gcbrun

EPortman commented 5 months ago

To test this:

  1. Create a NR of any type
  2. In Name-Examination, NR will come up as type DRAFT
  3. Click on the NR
  4. In the examiner field. It will display the username of the logged in user instead of one of the default values
EPortman commented 5 months ago

/gcbrun