mirror of
				https://github.com/SillyTavern/SillyTavern.git
				synced 2025-06-05 21:59:27 +02:00 
			
		
		
		
	Fix WI field access for UID = 0
This commit is contained in:
		@@ -295,7 +295,7 @@ function registerWorldInfoSlashCommands() {
 | 
			
		||||
            return '';
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        const entry = entries.find(x => x.uid === uid);
 | 
			
		||||
        const entry = entries.find(x => String(x.uid) === String(uid));
 | 
			
		||||
 | 
			
		||||
        if (!entry) {
 | 
			
		||||
            toastr.warning('Valid UID is required');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user