mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 14:46:01 +00:00
save favorite content
This commit is contained in:
@@ -75,4 +75,4 @@ export default function ChartTab({ tabVisible, toolbarPortalRef, conid, database
|
||||
);
|
||||
}
|
||||
|
||||
ChartTab.allowAddToFavorites = (props) => props.savedFile;
|
||||
ChartTab.allowAddToFavorites = (props) => true;
|
||||
|
||||
@@ -177,4 +177,4 @@ export default function QueryTab({ tabid, conid, database, initialArgs, tabVisib
|
||||
);
|
||||
}
|
||||
|
||||
QueryTab.allowAddToFavorites = (props) => props.savedFile;
|
||||
QueryTab.allowAddToFavorites = (props) => true;
|
||||
|
||||
@@ -140,4 +140,4 @@ export default function ShellTab({ tabid, tabVisible, toolbarPortalRef, ...other
|
||||
);
|
||||
}
|
||||
|
||||
ShellTab.allowAddToFavorites = (props) => props.savedFile;
|
||||
ShellTab.allowAddToFavorites = (props) => true;
|
||||
|
||||
Reference in New Issue
Block a user