File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
conreq/_core/home/components Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 2828def modal (websocket , state : HomepageState , set_state ):
2929 return div ()
3030
31- return bootstrap_modal (
32- {
33- "show" : state ._modal_state .show ,
34- "centered" : state ._modal_state .centered ,
35- "size" : state ._modal_state .size ,
36- ** state ._modal_state .kwargs ,
37- },
38- * (
39- [state ._modal (websocket , state , set_state )]
40- if state ._modal
41- else [
42- modal_head (websocket , state , set_state ),
43- modal_body (websocket , state , set_state ),
44- modal_footer (websocket , state , set_state ),
45- ]
46- ),
47- key = f"{ state ._modal .__module__ } .{ state ._modal .__name__ } "
48- if state ._modal
49- else str (uuid4 ()),
50- )
51-
5231
5332def modal_head (websocket , state : HomepageState , set_state ):
5433 # pylint: disable=unused-argument
You can’t perform that action at this time.
0 commit comments