@@ -294,7 +294,7 @@ export class TeamCollectionsService extends Service<void> {
294294 // Add to entity ids set
295295 this . entityIDs . add ( `collection-${ collection . id } ` )
296296
297- this . collections . value = tree
297+ this . collections . value = [ ... tree ]
298298 }
299299
300300 /**
@@ -386,7 +386,7 @@ export class TeamCollectionsService extends Service<void> {
386386
387387 updateCollInTree ( tree , collectionUpdate )
388388
389- this . collections . value = tree
389+ this . collections . value = [ ... tree ]
390390 }
391391
392392 /**
@@ -401,7 +401,7 @@ export class TeamCollectionsService extends Service<void> {
401401
402402 this . entityIDs . delete ( `collection-${ collectionID } ` )
403403
404- this . collections . value = tree
404+ this . collections . value = [ ... tree ]
405405 }
406406
407407 /**
@@ -428,7 +428,7 @@ export class TeamCollectionsService extends Service<void> {
428428 // Update the Entity IDs list
429429 this . entityIDs . add ( `request-${ request . id } ` )
430430
431- this . collections . value = tree
431+ this . collections . value = [ ... tree ]
432432 }
433433
434434 /**
@@ -447,7 +447,7 @@ export class TeamCollectionsService extends Service<void> {
447447
448448 Object . assign ( req , requestUpdate )
449449
450- this . collections . value = tree
450+ this . collections . value = [ ... tree ]
451451 }
452452
453453 /**
@@ -469,7 +469,7 @@ export class TeamCollectionsService extends Service<void> {
469469 this . entityIDs . delete ( `request-${ requestID } ` )
470470
471471 // Publish new tree
472- this . collections . value = tree
472+ this . collections . value = [ ... tree ]
473473 }
474474
475475 /**
@@ -588,7 +588,7 @@ export class TeamCollectionsService extends Service<void> {
588588 this . reorderItems ( collection . requests , requestIndex , destinationIndex )
589589 }
590590
591- this . collections . value = tree
591+ this . collections . value = [ ... tree ]
592592 }
593593
594594 public updateCollectionOrder = (
@@ -653,7 +653,7 @@ export class TeamCollectionsService extends Service<void> {
653653 }
654654 }
655655
656- this . collections . value = tree
656+ this . collections . value = [ ... tree ]
657657 }
658658
659659 private registerSubscriptions ( ) {
0 commit comments