Skip to content

Commit

Permalink
bugfix for #268
Browse files Browse the repository at this point in the history
  • Loading branch information
UcDust committed Nov 25, 2024
1 parent 431a2b4 commit 8319e8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ export default class AppMediaViewerNav extends Mixin(LitElement).with(
// }

let thumbnail = {
id: node["@id"]+(clientMediaPage.page === undefined ? '' : ':'+(clientMediaPage.page-1)),
id: node["@id"]+(!clientMediaPage.page || clientMediaPage.page === undefined ? '' : ':'+(clientMediaPage.page-1)),
icon: iconType,
position: clientMediaPage.page,
selected: (clientMediaPage.page-1) === selectedMediaPage,
Expand Down

0 comments on commit 8319e8a

Please sign in to comment.