fix(pages): show next and last buttons under the first chapter
				
					
				
			This commit is contained in:
		
							parent
							
								
									4f32f9312a
								
							
						
					
					
						commit
						85169dba3e
					
				| @ -65,14 +65,14 @@ | ||||
| 				Previous | ||||
| 			</a-button> | ||||
| 			<a-button | ||||
| 				v-if="parseInt(rtr.params.cidx as string) < story.chapterNames.length - 1" | ||||
| 				v-if="parseInt(rtr.params.cidx as string) <= story.chapterNames.length - 1" | ||||
| 				@click="() => navigateTo(`/story/${rtr.params.id}/${parseInt(rtr.params.cidx as string) + 1}`)" | ||||
| 			> | ||||
| 				Next | ||||
| 			</a-button> | ||||
| 			<a-button | ||||
| 				@click="() => navigateTo(`/story/${rtr.params.id}/${story.chapterNames.length}`)" | ||||
| 				v-if="parseInt(rtr.params.cidx as string) < story.chapterNames.length - 1" | ||||
| 				v-if="parseInt(rtr.params.cidx as string) <= story.chapterNames.length - 1" | ||||
| 			> | ||||
| 				Last | ||||
| 			</a-button> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user