✅ How to change property in tree-like objects?
I have list of departments ids:
Then I try to use ids to get subjects:
groupedSubjects is a list of SubjectDto:
so for example, we have 3 departments:
office
room1
room2
groupedSubjects will be grouped by "office", "room1", "room2" etc but I want to see smth like this: "office/room1", "office/room2"
0 Replies