Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 8b919e7

Browse files
authored
fix: LSDV-5011: In view all mode there should be no bottom bar (#1340)
fix: lsdv-5011: in view all mode there should be no bottom bar
1 parent 1032d93 commit 8b919e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/BottomBar/BottomBar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ export const BottomBar = observer(({ store }) => {
1111

1212
const isViewAll = annotationStore?.viewingAll === true;
1313

14-
return store ? (
14+
return store && !isViewAll ? (
1515
<Block name="bottombar">
1616
<Elem name="group">
1717
<Actions store={store}/>
1818
</Elem>
1919
<Elem name="group">
20-
{!isViewAll && store.hasInterface('controls') && (store.hasInterface('review') || !isPrediction) && (
20+
{store.hasInterface('controls') && (store.hasInterface('review') || !isPrediction) && (
2121
<Elem name="section" mod={{ flat: true }}>
2222
<Controls annotation={entity} />
2323
</Elem>

0 commit comments

Comments
 (0)