diff --git a/client/src/app/pages/dashboard/import/ImportPage.tsx b/client/src/app/pages/dashboard/import/ImportPage.tsx
index 083056d2e..110bfce44 100644
--- a/client/src/app/pages/dashboard/import/ImportPage.tsx
+++ b/client/src/app/pages/dashboard/import/ImportPage.tsx
@@ -88,7 +88,11 @@ function InnerShowRecentImports({ user }: { user: UserDocument }) {
return ;
}
- if (data.length === 0) {
+ const filteredData = data.filter(
+ (e) => e.importType.startsWith("file/") || e.importType.startsWith("api/")
+ );
+
+ if (filteredData.length === 0) {
return null;
}
@@ -97,16 +101,12 @@ function InnerShowRecentImports({ user }: { user: UserDocument }) {
Recently Used Import Methods
- {data
- .filter(
- (e) => e.importType.startsWith("file/") || e.importType.startsWith("api/")
- )
- .map((e) => (
-
- ))}
+ {filteredData.map((e) => (
+
+ ))}
>
);
diff --git a/common/src/lib/schemas.ts b/common/src/lib/schemas.ts
index 6709dc41f..c4a682f17 100644
--- a/common/src/lib/schemas.ts
+++ b/common/src/lib/schemas.ts
@@ -1296,8 +1296,14 @@ const PR_HIT_META = (game: Game): PrudenceSchema => {
const PR_BATCH_MANUAL_SCORE = (game: Game, playtype: Playtype): PrudenceSchema => {
const gptConfig = GetGamePTConfig(game, playtype);
- const scoreChecker =
- game === "itg" || game === "gitadora" ? p.isBetween(0, 100) : p.isPositiveInteger;
+ let scoreChecker: ValidSchemaValue = p.isPositiveInteger;
+
+ // DISGUSTING TEMPORARY HACK. NEEDS REFACTOR
+ if (game === "itg" || game === "gitadora") {
+ scoreChecker = p.isBetween(0, 100);
+ } else if (game === "maimaidx") {
+ scoreChecker = p.isBetween(0, 101);
+ }
return {
score: scoreChecker,