fix: show actual environment name for 'other' category

- Add rawEnvironment field to preserve extracted environment name
- Display rawEnvironment (e.g., 'timeshift') instead of 'other' in badge

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 15:13:52 +08:00
parent 31bbebc2ab
commit 8d7d2f37d7
4 changed files with 14 additions and 13 deletions

View File

@@ -10,6 +10,7 @@ const fetcher = (url: string) => fetch(url).then((res) => res.json());
interface Apk {
name: string;
environment: ApkEnvironment;
rawEnvironment: string;
commit: string | null;
size: number;
modifiedAt: string;