Skip to content
Snippets Groups Projects
Unverified Commit 1f6d17c0 authored by Kyle Doherty's avatar Kyle Doherty
Browse files

switch order

parent 97f15d4e
No related branches found
No related tags found
No related merge requests found
......@@ -165,19 +165,8 @@ class DefaultLanding extends React.Component {
collectionId === "root" || collections.length > 0;
return (
<Flex>
{showCollectionList && (
<Box w={1 / 3} mr={3}>
<Box>
<h4>{t`Collections`}</h4>
</Box>
<CollectionList
collections={collections}
isRoot={collectionId === "root"}
/>
</Box>
)}
<Box w={2 / 3}>
<Box>
<Box>
<Box>
{pinned.length === 0 && unpinned.length === 0 ? (
<CollectionEmptyState />
......@@ -245,6 +234,17 @@ class DefaultLanding extends React.Component {
)}
</PinDropTarget>
)}
{showCollectionList && (
<Box>
<Box>
<h4>{t`Collections`}</h4>
</Box>
<CollectionList
collections={collections}
isRoot={collectionId === "root"}
/>
</Box>
)}
<Flex align="center" mb={2}>
{pinned.length > 0 && (
<Box>
......@@ -358,7 +358,7 @@ class DefaultLanding extends React.Component {
</Modal>
)}
<ItemsDragLayer selected={selected} />
</Flex>
</Box>
);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment