fix: include labels in editor tabs buttons (#44918)
This commit is contained in:
@ -357,7 +357,6 @@ export type ChallengeFile = {
|
|||||||
name: string;
|
name: string;
|
||||||
editableRegionBoundaries: number[];
|
editableRegionBoundaries: number[];
|
||||||
usesMultifileEditor: boolean;
|
usesMultifileEditor: boolean;
|
||||||
path: string;
|
|
||||||
error: null | string;
|
error: null | string;
|
||||||
head: string;
|
head: string;
|
||||||
tail: string;
|
tail: string;
|
||||||
|
@ -48,7 +48,7 @@ class EditorTabs extends Component<EditorTabsProps> {
|
|||||||
onClick={() => toggleVisibleEditor(challengeFile.fileKey)}
|
onClick={() => toggleVisibleEditor(challengeFile.fileKey)}
|
||||||
role='tab'
|
role='tab'
|
||||||
>
|
>
|
||||||
{challengeFile.path}
|
{`${challengeFile.name}.${challengeFile.ext}`}
|
||||||
</button>
|
</button>
|
||||||
)
|
)
|
||||||
)}
|
)}
|
||||||
|
Reference in New Issue
Block a user