File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed 
src/components/dialog/content/manager Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -408,9 +408,6 @@ const handleGridContainerClick = (event: MouseEvent) => {
408408
409409const   hasMultipleSelections =  computed (() =>  selectedNodePacks .value .length  >  1 )
410410
411- //  Track the last pack ID for which we've fetched full registry data
412- const   lastFetchedPackId =  ref <string  |  null >(null )
413- 
414411//  Whenever a single pack is selected, fetch its full info once
415412whenever (selectedNodePack , async  () =>  {
416413  //  Cancel any in-flight requests from previously selected node pack 
@@ -419,12 +416,9 @@ whenever(selectedNodePack, async () => {
419416  const   pack =  selectedNodePack .value  
420417  if  (! pack ?.id ) return  
421418  if  (hasMultipleSelections .value ) return  
422-   //  Only fetch if we haven't already for this pack 
423-   if  (lastFetchedPackId .value  ===  pack .id ) return  
424419  const   data =  await  getPackById .call (pack .id ) 
425420  //  If selected node hasn't changed since request, merge registry & Algolia data 
426421  if  (data ?.id  ===  pack .id ) { 
427-     lastFetchedPackId .value  =  pack .id  
428422    const   mergedPack =  merge ({}, pack , data ) 
429423    selectedNodePacks .value  =  [mergedPack ] 
430424    //  Replace pack in displayPacks so that children receive a fresh prop reference 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments