diff --git a/webapp/src/components/centerPanel.tsx b/webapp/src/components/centerPanel.tsx index d4287070e..b34d282a1 100644 --- a/webapp/src/components/centerPanel.tsx +++ b/webapp/src/components/centerPanel.tsx @@ -15,7 +15,7 @@ import './centerPanel.scss' import CardDialog from './cardDialog' import RootPortal from './rootPortal' import TopBar from './topBar' -import ViewHeader from './viewHeader' +import ViewHeader from './viewHeader/viewHeader' import ViewTitle from './viewTitle' import Kanban from './kanban/kanban' import Table from './table/table' diff --git a/webapp/src/components/viewHeader.scss b/webapp/src/components/viewHeader/viewHeader.scss similarity index 100% rename from webapp/src/components/viewHeader.scss rename to webapp/src/components/viewHeader/viewHeader.scss diff --git a/webapp/src/components/viewHeader.tsx b/webapp/src/components/viewHeader/viewHeader.tsx similarity index 94% rename from webapp/src/components/viewHeader.tsx rename to webapp/src/components/viewHeader/viewHeader.tsx index c7f311421..24635f9ad 100644 --- a/webapp/src/components/viewHeader.tsx +++ b/webapp/src/components/viewHeader/viewHeader.tsx @@ -3,34 +3,35 @@ import React from 'react' import {FormattedMessage, injectIntl, IntlShape} from 'react-intl' -import {BlockIcons} from '../blockIcons' -import {IPropertyTemplate} from '../blocks/board' -import {ISortOption, MutableBoardView} from '../blocks/boardView' -import {MutableCard} from '../blocks/card' -import {CardFilter} from '../cardFilter' -import ViewMenu from '../components/viewMenu' -import {Constants} from '../constants' -import {CsvExporter} from '../csvExporter' -import mutator from '../mutator' -import {UserContext} from '../user' -import {BoardTree} from '../viewModel/boardTree' -import Button from '../widgets/buttons/button' -import IconButton from '../widgets/buttons/iconButton' -import CheckIcon from '../widgets/icons/check' -import DropdownIcon from '../widgets/icons/dropdown' -import OptionsIcon from '../widgets/icons/options' -import SortDownIcon from '../widgets/icons/sortDown' -import SortUpIcon from '../widgets/icons/sortUp' -import Menu from '../widgets/menu' -import MenuWrapper from '../widgets/menuWrapper' +import {BlockIcons} from '../../blockIcons' +import {IPropertyTemplate} from '../../blocks/board' +import {ISortOption, MutableBoardView} from '../../blocks/boardView' +import {MutableCard} from '../../blocks/card' +import {CardFilter} from '../../cardFilter' +import ViewMenu from '../../components/viewMenu' +import {Constants} from '../../constants' +import {CsvExporter} from '../../csvExporter' +import mutator from '../../mutator' +import {UserContext} from '../../user' +import {BoardTree} from '../../viewModel/boardTree' +import Button from '../../widgets/buttons/button' +import IconButton from '../../widgets/buttons/iconButton' +import CheckIcon from '../../widgets/icons/check' +import DropdownIcon from '../../widgets/icons/dropdown' +import OptionsIcon from '../../widgets/icons/options' +import SortDownIcon from '../../widgets/icons/sortDown' +import SortUpIcon from '../../widgets/icons/sortUp' +import Menu from '../../widgets/menu' +import MenuWrapper from '../../widgets/menuWrapper' + +import Editable from '../editable' +import FilterComponent from '../filterComponent' +import ModalWrapper from '../modalWrapper' +import NewCardButton from '../newCardButton' +import ShareBoardComponent from '../shareBoardComponent' +import {sendFlashMessage} from '../flashMessages' -import Editable from './editable' -import FilterComponent from './filterComponent' -import ModalWrapper from './modalWrapper' -import NewCardButton from './newCardButton' -import ShareBoardComponent from './shareBoardComponent' import './viewHeader.scss' -import {sendFlashMessage} from './flashMessages' type Props = { boardTree: BoardTree