File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/app/features/registries/components Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,9 @@ export class ReviewComponent {
164164 } ,
165165 } )
166166 . onClose . subscribe ( ( selectedComponents ) => {
167- this . openConfirmRegistrationDialog ( selectedComponents ) ;
167+ if ( selectedComponents ) {
168+ this . openConfirmRegistrationDialog ( selectedComponents ) ;
169+ }
168170 } ) ;
169171 }
170172
Original file line number Diff line number Diff line change 11< p class ="mb-2 "> {{ 'registries.review.selectComponents.description' | translate }}</ p >
22
3- < p-tree [value] ="components " selectionMode ="checkbox " class ="w-full md:w-[30rem] " [(selection)] ="selectedComponents " />
3+ < p-tree
4+ [value] ="components "
5+ selectionMode ="checkbox "
6+ class ="w-full md:w-[30rem] "
7+ [(selection)] ="selectedComponents "
8+ [propagateSelectionUp] ="false "
9+ />
410
511< div class ="flex justify-content-end gap-2 mt-4 ">
612 < p-button
You can’t perform that action at this time.
0 commit comments