Skip to content

Commit 5d417d1

Browse files
svenefftingeroboquat
authored andcommitted
[dashboard] list latest editor if available
1 parent 0850403 commit 5d417d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dashboard/src/components/SelectIDEComponent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function SelectIDEComponent(props: SelectIDEComponentProps) {
3737
element: <IdeOptionElementInDropDown option={ide} useLatest={false} />,
3838
isSelectable: true,
3939
});
40-
if (ide.imageVersion !== ide.latestImageVersion) {
40+
if (ide.latestImage) {
4141
result.push({
4242
id: ide.id + "-latest",
4343
element: <IdeOptionElementInDropDown option={ide} useLatest={true} />,

0 commit comments

Comments
 (0)