Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move userCardTemplateGateway methods in opfab UI API #4677

Merged
merged 1 commit into from
Jul 5, 2023
Merged

Conversation

freddidierRTE
Copy link
Contributor

Nothing in release note as #4438 is already in release note

Comment on lines 344 to 350
=== Function getStartDate

The template can know the current startDate of the card in creation or edition by calling the _opfab.currentUserCard.getStartDate()_ function. The function will return a number corresponding to the startDate as epoch date value.

```
const startDate = opfab.currentUserCard.getStartDate();
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe move this section next to the getEndDate section (l. 294) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i will keep the alphabetical order

Signed-off-by: freddidierRTE <frederic-f.didier@rte-france.com>
@sonarcloud
Copy link

sonarcloud bot commented Jul 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@quinarygio quinarygio merged commit 73c447d into develop Jul 5, 2023
7 checks passed
@quinarygio quinarygio deleted the FE-4438b branch July 5, 2023 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refacto usercardTemplate and cardTemplate js lib under opfab (opfabAPI)
3 participants