fix: include labels in editor tabs buttons (#44918)

This commit is contained in:
Krzysztof G
2022-01-25 22:57:17 +01:00
committed by GitHub
parent 33ddfd01fa
commit 6db9bbbd6e
2 changed files with 1 additions and 2 deletions

View File

@ -357,7 +357,6 @@ export type ChallengeFile = {
name: string;
editableRegionBoundaries: number[];
usesMultifileEditor: boolean;
path: string;
error: null | string;
head: string;
tail: string;

View File

@ -48,7 +48,7 @@ class EditorTabs extends Component<EditorTabsProps> {
onClick={() => toggleVisibleEditor(challengeFile.fileKey)}
role='tab'
>
{challengeFile.path}
{`${challengeFile.name}.${challengeFile.ext}`}
</button>
)
)}