Fix scene galleries panel (#1523)

This commit is contained in:
WithoutPants 2021-06-23 10:43:54 +10:00 committed by GitHub
parent 4165e7779f
commit 2fdf672015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -445,7 +445,7 @@ export const Scene: React.FC = () => {
<Nav.Item>
<Nav.Link eventKey="scene-galleries-panel">
<FormattedMessage
id="countables.gallery"
id="countables.galleries"
values={{ count: scene.galleries.length }}
/>
</Nav.Link>
@ -520,7 +520,7 @@ export const Scene: React.FC = () => {
<SceneMoviePanel scene={scene} />
</Tab.Pane>
{scene.galleries.length === 1 && (
<Tab.Pane eventKey="scene-gallery-panel">
<Tab.Pane eventKey="scene-galleries-panel">
<GalleryViewer galleryId={scene.galleries[0].id} />
</Tab.Pane>
)}