mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-06 05:48:00 +03:00
fix: don't render stuff we don't support
This commit is contained in:
@@ -278,7 +278,11 @@ function ImportTypeInfoCard({
|
||||
importType,
|
||||
}: {
|
||||
importType: FileUploadImportTypes | APIImportTypes;
|
||||
}): JSX.Element {
|
||||
}): JSX.Element | null {
|
||||
if (TachiConfig.importTypes.includes(importType)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
switch (importType) {
|
||||
case "api/arc-sdvx":
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user