logo selecting

This commit is contained in:
muerwre 2018-08-27 12:00:43 +07:00
parent 898176a68f
commit 0c6dc387de
12 changed files with 104 additions and 17 deletions

View file

@ -7,7 +7,7 @@ import { TrashDialog } from '$components/trash/TrashDialog';
import { LogoDialog } from '$components/logo/LogoDialog';
export const EditorDialog = ({
mode, routerPoints, editor, activeSticker
mode, routerPoints, editor, activeSticker, logo
}) => {
const showDialog = (
mode === MODES.ROUTER
@ -22,7 +22,7 @@ export const EditorDialog = ({
{ mode === MODES.ROUTER && <RouterDialog routerPoints={routerPoints} editor={editor} /> }
{ mode === MODES.STICKERS && <StickersDialog editor={editor} /> }
{ mode === MODES.TRASH && <TrashDialog editor={editor} /> }
{ mode === MODES.LOGO && <LogoDialog editor={editor} /> }
{ mode === MODES.LOGO && <LogoDialog editor={editor} logo={logo} /> }
</div>
);
};