mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
dist and time
finishing route
This commit is contained in:
parent
102328a1b2
commit
b8545105c8
15 changed files with 195 additions and 37 deletions
|
@ -3,12 +3,13 @@ import { MODES } from '$constants/modes';
|
|||
|
||||
import { RouterHelper } from '$components/router/RouterHelper';
|
||||
|
||||
export const EditorDialog = ({ mode, routerPoints }) => {
|
||||
export const EditorDialog = ({ mode, routerPoints, editor }) => {
|
||||
const showDialog = (mode === MODES.ROUTER);
|
||||
|
||||
return (
|
||||
showDialog &&
|
||||
<div id="control-dialog">
|
||||
{ mode === MODES.ROUTER && <RouterHelper routerPoints={routerPoints} /> }
|
||||
{ mode === MODES.ROUTER && <RouterHelper routerPoints={routerPoints} editor={editor} /> }
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue