Commit 9b3c525
committed
fix: Ensure WordList structure exists before adding items
When personalizing vocabularies with WordList items, the code was checking
if originalGrid.Grid.WordList.Items existed before adding items. If the
original page didn't have a WordList, items would not be added.
This change ensures the WordList structure is created if it doesn't exist,
allowing personalization items to be added to pages without existing
WordLists.1 parent ed935bb commit 9b3c525
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2768 | 2768 | | |
2769 | 2769 | | |
2770 | 2770 | | |
2771 | | - | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
2772 | 2783 | | |
2773 | 2784 | | |
2774 | 2785 | | |
| |||
0 commit comments