Skip to content

Commit 0549559

Browse files
committed
chore: fix pop without non-null assertion
1 parent 1a0dfa5 commit 0549559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/pages/translation-status.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function* mapFiles(
5757
missing: entry.missingKeys.length,
5858
missingClass:
5959
entry.missingKeys.length > 0 ? 'text-orange-700 dark:text-orange-500' : undefined,
60-
file: entry.githubEditUrl.split('/').pop()!,
60+
file: entry.githubEditUrl.split('/').pop() ?? entry.lang,
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)