You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My es.json file is:
"turn": "Turno: {{ morningTurn ? "MATUTINO" : "VESPERTINO" }}"
How I'm calling it in html:
{{ 'turn' | translate: {morningTurn: (morningTurn) }} (morningTurn value should be 'true' or 'false' depending on some conditions)
How is this represented in html view:
Turno: {{ morningTurn ? 'MATUTINO' : 'VESPERTINO' }}
Expected behavior
I was soecting my html view something like:
Turno: MATUTINO
or
Turno: VESPERTINO
What is the motivation / use case for changing the behavior?
I want to show that information depending on the hour of the day, sending a boolean value if the actual hour is between some range
How do you think that we should implement this?
I don't know if there's a better way to implement this
The text was updated successfully, but these errors were encountered:
Current behavior
My es.json file is:
"turn": "Turno: {{ morningTurn ? "MATUTINO" : "VESPERTINO" }}"
How I'm calling it in html:
{{ 'turn' | translate: {morningTurn: (morningTurn) }} (morningTurn value should be 'true' or 'false' depending on some conditions)
How is this represented in html view:
Turno: {{ morningTurn ? 'MATUTINO' : 'VESPERTINO' }}
Expected behavior
I was soecting my html view something like:
Turno: MATUTINO
or
Turno: VESPERTINO
What is the motivation / use case for changing the behavior?
I want to show that information depending on the hour of the day, sending a boolean value if the actual hour is between some range
How do you think that we should implement this?
I don't know if there's a better way to implement this
The text was updated successfully, but these errors were encountered: