Auto-load seed url when replaying seeded crawls (#1786)
Closes #1787 - Crawls with only one seed will load viewing that seed URL - URL list crawls with >1 URLs will continue to load the pages list as no ReplayWeb.page enbed URL has been defined Co-authored-by: sua yoo <sua@webrecorder.org>
This commit is contained in:
		
							parent
							
								
									fe583c0f50
								
							
						
					
					
						commit
						06b512bb84
					
				| @ -683,6 +683,7 @@ export class ArchivedItemDetail extends TailwindElement { | ||||
|           ? html`<div id="replay-crawl" class="aspect-4/3 overflow-hidden">
 | ||||
|               <replay-web-page | ||||
|                 source="${replaySource}" | ||||
|                 url="${this.crawl.seedCount === 1 && this.crawl.firstSeed || ""}" | ||||
|                 coll="${ifDefined(this.crawl.id)}" | ||||
|                 config="${config}" | ||||
|                 replayBase="/replay/" | ||||
|  | ||||
							
								
								
									
										1
									
								
								frontend/src/replayWebPage.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								frontend/src/replayWebPage.d.ts
									
									
									
									
										vendored
									
									
								
							| @ -5,6 +5,7 @@ | ||||
|  * @attr {String} replayBase | ||||
|  * @attr {String} noSandbox | ||||
|  * @attr {String} noCache | ||||
|  * @attr {String} url | ||||
|  */ | ||||
| class ReplayWebPage {} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user