This commit is contained in:
wangyijing 2024-07-01 03:19:28 +08:00
parent 45d2ccc119
commit c234160b82

View File

@ -569,6 +569,13 @@ function SyncItems() {
setShowSyncConfigModal(true); setShowSyncConfigModal(true);
}} }}
/> />
<IconButton
icon={<DownloadIcon />}
text={Locale.UI.Import}
onClick={() => {
setShowImportModal(true);
}}
/>
{couldSync && ( {couldSync && (
<> <>
<IconButton <IconButton
@ -591,13 +598,6 @@ function SyncItems() {
syncStore.exportSyncConfig(); syncStore.exportSyncConfig();
}} }}
/> />
<IconButton
icon={<DownloadIcon />}
text={Locale.UI.Import}
onClick={() => {
setShowImportModal(true);
}}
/>
</> </>
)} )}
</div> </div>