Fix the series view next button not disabling when on the last page #300
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ export default class SeriesHelper {
|
||||||
.setCustomId(`series list ${page + 1}`)
|
.setCustomId(`series list ${page + 1}`)
|
||||||
.setLabel("Next")
|
.setLabel("Next")
|
||||||
.setStyle(ButtonStyle.Primary)
|
.setStyle(ButtonStyle.Primary)
|
||||||
.setDisabled(page + 1 > totalPages));
|
.setDisabled(page + 1 == totalPages));
|
||||||
|
|
||||||
return { embed, row };
|
return { embed, row };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue