mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 02:02:14 +01:00 
			
		
		
		
	Merge pull request #1757 from matrix-org/luke/fix-assumed-removed-tags
Do not assume that tags have been removed
This commit is contained in:
		
						commit
						ad863afd6d
					
				@ -35,7 +35,7 @@ const TagOrderActions = {};
 | 
			
		||||
TagOrderActions.moveTag = function(matrixClient, tag, destinationIx) {
 | 
			
		||||
    // Only commit tags if the state is ready, i.e. not null
 | 
			
		||||
    let tags = TagOrderStore.getOrderedTags();
 | 
			
		||||
    let removedTags = TagOrderStore.getRemovedTagsAccountData();
 | 
			
		||||
    let removedTags = TagOrderStore.getRemovedTagsAccountData() || [];
 | 
			
		||||
    if (!tags) {
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user