Skip to content

Commit

Permalink
fix importer not importig pages into spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed May 23, 2024
1 parent 527ec86 commit 3eec210
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/imports/background/progress-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default class ImportProgressManager {
// Create custom lists for bookmark folders

let localListId = null
let map = []
let map = {}
const existing = await this.options.customListsModule.fetchListByName(
{
name: 'Browser Bookmarks',
Expand Down Expand Up @@ -282,7 +282,7 @@ export default class ImportProgressManager {
const existingPath = existingListTree.pathListIds
if (existingPath.includes(map[-1])) {
map[parentId] = existingList.id
return
continue // Use continue instead of return
}
}

Expand Down
3 changes: 1 addition & 2 deletions src/options/imports/components/ProgressTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,14 @@ const InfoBlock = styled.div`
const Progress = styled.div`
display: grid;
grid-auto-flow: column;
grid-gap: 3px;
grid-gap: 5px;
align-items: flex-end;
`

const Number = styled.div`
color: ${(props) => props.theme.colors.white};
font-size: 22px;
font-weight: bold;
width: 0px;
line-height: 28px;
`

Expand Down

0 comments on commit 3eec210

Please sign in to comment.