Skip to content

Commit

Permalink
fix(LocalTabs): Don't use selected prop to create tab
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Dec 7, 2023
1 parent abc58be commit 65d1a00
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib/LocalTabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ export default class LocalTabs implements IResource {
// Only firefox allows discarded prop
...(typeof browser.BookmarkTreeNodeType !== 'undefined' && { discarded: true }),
active: false,
// Only chrome-like browsers allow select prop
...(typeof browser.BookmarkTreeNodeType === 'undefined' && { selected: false }),
})
)
return node.id
Expand Down

0 comments on commit 65d1a00

Please sign in to comment.