From fb5421bea3e383f9234596c1a758733ef0390fb9 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Tue, 17 Nov 2020 14:24:23 -0800 Subject: [PATCH] Show message when creating template from board --- webapp/src/components/viewHeader.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/src/components/viewHeader.tsx b/webapp/src/components/viewHeader.tsx index 1ed016853..a41f91af5 100644 --- a/webapp/src/components/viewHeader.tsx +++ b/webapp/src/components/viewHeader.tsx @@ -29,6 +29,7 @@ import MenuWrapper from '../widgets/menuWrapper' import {Editable} from './editable' import FilterComponent from './filterComponent' +import {sendFlashMessage} from './flashMessages' import './viewHeader.scss' type Props = { @@ -485,6 +486,9 @@ class ViewHeader extends React.Component { blocksToInsert, 'create template from board', ) + + // TODO: Navigate to board editor + sendFlashMessage({content: 'New board template added', severity: 'low'}) } }