mirror of
				https://github.com/arcan1s/ahriman.git
				synced 2025-10-31 05:43:41 +00:00 
			
		
		
		
	feat: block refresh upon opening dashboard or changing table position
This commit is contained in:
		| @ -241,7 +241,9 @@ | ||||
|     function toggleTableAutoReload(interval) { | ||||
|         clearInterval(tableAutoReloadTask); | ||||
|         tableAutoReloadTask = toggleAutoReload(tableAutoReloadButton, interval, tableAutoReloadInput, _ => { | ||||
|             if (getSelection().length === 0) { | ||||
|             if ((getSelection().length === 0) && | ||||
|                 (table.bootstrapTable("getOptions").pageNumber === 1) && | ||||
|                 (!dashboardModal.classList.contains("show"))) { | ||||
|                 reload(true); | ||||
|             } | ||||
|         }); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user