diff --git a/starsky/starsky/clientapp/src/components/molecules/menu-option-selection-undo/menu-option-selection-undo.tsx b/starsky/starsky/clientapp/src/components/molecules/menu-option-selection-undo/menu-option-selection-undo.tsx index 15c095d223..8f475416ca 100644 --- a/starsky/starsky/clientapp/src/components/molecules/menu-option-selection-undo/menu-option-selection-undo.tsx +++ b/starsky/starsky/clientapp/src/components/molecules/menu-option-selection-undo/menu-option-selection-undo.tsx @@ -18,7 +18,7 @@ export const MenuOptionSelectionUndo: React.FunctionComponent< return ( <> - {select.length === state?.fileIndexItems.length ? ( + {select.length === state?.fileIndexItems?.length ? (