mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-23 16:16:02 +00:00
fix
This commit is contained in:
@@ -148,6 +148,7 @@ 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 favorite">
|
||||
Add to favorites
|
||||
|
||||
Reference in New Issue
Block a user