mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix(web): default album view (#8247)
* fix(web): default album view * linting
This commit is contained in:
		
							parent
							
								
									5dc59b591d
								
							
						
					
					
						commit
						3901b5da44
					
				@ -155,6 +155,16 @@
 | 
			
		||||
            albums = key.sortFn(key.sortDesc, sharedAlbums);
 | 
			
		||||
            break;
 | 
			
		||||
          }
 | 
			
		||||
 | 
			
		||||
          default: {
 | 
			
		||||
            albums = key.sortFn(
 | 
			
		||||
              key.sortDesc,
 | 
			
		||||
              [...sharedAlbums, ...ownedAlbums].filter(
 | 
			
		||||
                (album, index, self) => index === self.findIndex((item) => album.id === item.id),
 | 
			
		||||
              ),
 | 
			
		||||
            );
 | 
			
		||||
            break;
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        $albumViewSettings.sortDesc = key.sortDesc;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user