Current code in MenuScreen lays the foundation for bistro to be optional in MenuScreen, MenuSheet and MenuInfoBox. It is using method find(), which can return undefined. Therefore the bistro object, used for getting right information, must be optional.
TODO: Check if there is a smarter way of dragging out requested bistro object from id, without using find-method.
Current code in MenuScreen lays the foundation for bistro to be optional in MenuScreen, MenuSheet and MenuInfoBox. It is using method find(), which can return undefined. Therefore the bistro object, used for getting right information, must be optional.
TODO: Check if there is a smarter way of dragging out requested bistro object from id, without using find-method.