save favorite content

This commit is contained in:
Jan Prochazka
2020-12-14 20:47:22 +01:00
parent 3a89d1a07b
commit a7926a1a71
6 changed files with 10 additions and 8 deletions

View File

@@ -144,7 +144,6 @@ export default function ToolBar({ toolbarPortalRef }) {
{!!currentTab &&
tabs[currentTab.tabComponent] &&
tabs[currentTab.tabComponent].allowAddToFavorites &&
currentTab.props &&
tabs[currentTab.tabComponent].allowAddToFavorites(currentTab.props) && (
<ToolbarButton onClick={addToFavorite} icon="icon share">
Share