[MGNLFE-623] Remove all condition for templateDefinitions out of 1.6 major branch Created: 24/Aug/23 Updated: 15/Jan/24 |
|
| Status: | Accepted |
| Project: | Magnolia Frontend Helpers |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Oanh Thai Hoang | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoR: |
Empty
|
||||||||
| Epic Link: | SPA Editor Backlog | ||||||||
| Story Points: | 2 | ||||||||
| Team: | |||||||||
| Description |
|
The condition for `templateDefinitions && templateDefinitions[content?.[constants.TEMPLATE_ID_PROP] ` is for really old version.
1.6 is quite a major version. So we don't need to keep all that useless code
AC: Remove all templateDefinitions |