This commit is contained in:
josc146
2023-05-20 15:15:49 +08:00
parent 358705625a
commit 4a5fceb014
4 changed files with 88 additions and 64 deletions

View File

@@ -138,7 +138,7 @@ const columns: TableColumnDefinition<ModelSourceItem>[] = [
toastWithButton(`${t('Downloading')} ${item.name}`, t('Check'), () => {
navigate({pathname: '/downloads'});
},
{autoClose: 3000, position: 'top-center'});
{autoClose: 3000});
AddToDownloadList(`./${manifest.localModelDir}/${item.name}`, item.downloadUrl!);
}}/>}
{item.url && <ToolTipButton desc={t('Open Url')} icon={<Open20Regular/>} onClick={() => {