add all modals to menu

This commit is contained in:
Robin Appelman 2024-12-07 13:52:21 +01:00
commit 97a6b46879
5 changed files with 32 additions and 8 deletions

View file

@ -18,7 +18,7 @@ import {DemoHead} from "../../header";
import {EventSearch} from "./EventSearch";
import {Event} from "./Data/Parser";
enum ModalState {
export enum ModalState {
Closed,
Help,
Goto,
@ -254,7 +254,7 @@ export const Analyser = (props: AnalyseProps) => {
}, onUpdate);
setSessionName(session.sessionName);
}}
openHelp={() => setHelpOpen(true)}
openModal={setModalState}
canShare={props.isStored && !inShared}
isShared={isShared()}
clients={clients()}