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

@@ -75,4 +75,4 @@ export default function ChartTab({ tabVisible, toolbarPortalRef, conid, database
);
}
ChartTab.allowAddToFavorites = (props) => props.savedFile;
ChartTab.allowAddToFavorites = (props) => true;

View File

@@ -177,4 +177,4 @@ export default function QueryTab({ tabid, conid, database, initialArgs, tabVisib
);
}
QueryTab.allowAddToFavorites = (props) => props.savedFile;
QueryTab.allowAddToFavorites = (props) => true;

View File

@@ -140,4 +140,4 @@ export default function ShellTab({ tabid, tabVisible, toolbarPortalRef, ...other
);
}
ShellTab.allowAddToFavorites = (props) => props.savedFile;
ShellTab.allowAddToFavorites = (props) => true;