mozilla-iam / dino-park-front-end

Front-end for Mozillians.org
Mozilla Public License 2.0
37 stars 32 forks source link

apply the view costCenter filter to edit #696

Open floatingatoll opened 1 year ago

floatingatoll commented 1 year ago

Something in the CIS pipeline is appending ".0" to cost centers, which is then displayed to user only when editing their profiles, not when viewing those of others.

This patch applies the logic from the view page to the (readonly) field on the edit page as well, so that we're internally consistent within Dinopark and also consistent with the current 2023-era cost centers as shown in Finance documents.

We still need to find what's injecting .0 and fix that, but this removes the user-visible impact for Dinopark until we do so, and will noop once that's removed upstream.