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 | 				Previous | ||||||
| 			</a-button> | 			</a-button> | ||||||
| 			<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}`)" | 				@click="() => navigateTo(`/story/${rtr.params.id}/${parseInt(rtr.params.cidx as string) + 1}`)" | ||||||
| 			> | 			> | ||||||
| 				Next | 				Next | ||||||
| 			</a-button> | 			</a-button> | ||||||
| 			<a-button | 			<a-button | ||||||
| 				@click="() => navigateTo(`/story/${rtr.params.id}/${story.chapterNames.length}`)" | 				@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 | 				Last | ||||||
| 			</a-button> | 			</a-button> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user