mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-04 02:34:13 +02:00
add all modals to menu
This commit is contained in:
parent
d699095369
commit
97a6b46879
5 changed files with 32 additions and 8 deletions
|
|
@ -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()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue