I am working with a nested tree data structure that can be found at the following link: https://stackblitz.com/edit/angular-ivy-wcv63x?file=src%2Fapp%2Fapp.component.ts
My objective is to maintain the selected tree items in an expanded state even after a page refresh.
Initially, I attempted to collect all the selected tree items into a separate variable so that we could return this list to the app component.
However, I am currently struggling to find a solution for processing this expanded list.