mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
migrate tags UI and delete old tags (#7699)
* basic codes remove useless * remove useless * remove useless codes * remove useless codes
This commit is contained in:
@@ -25,7 +25,7 @@ const propTypes = {
|
||||
currentRepoInfo: PropTypes.object.isRequired
|
||||
};
|
||||
|
||||
const LibSettingsDialog = ({ repoID, currentRepoInfo, toggleDialog, tab }) => {
|
||||
const LibSettingsDialog = ({ repoID, currentRepoInfo, toggleDialog, tab, showMigrateTip }) => {
|
||||
const [activeTab, setActiveTab] = useState(tab || TAB.HISTORY_SETTING);
|
||||
|
||||
const toggleTab = useCallback((tab) => {
|
||||
@@ -201,6 +201,7 @@ const LibSettingsDialog = ({ repoID, currentRepoInfo, toggleDialog, tab }) => {
|
||||
submit={updateEnableTags}
|
||||
toggleDialog={toggleDialog}
|
||||
enableMetadata={enableMetadata}
|
||||
showMigrateTip={showMigrateTip}
|
||||
/>
|
||||
</TabPane>
|
||||
)}
|
||||
|
Reference in New Issue
Block a user