Skip to content

Commit a8139eb

Browse files
committed
Fix selected
1 parent 242d6bf commit a8139eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-ide-interface",
3-
"version": "0.1.67",
3+
"version": "0.1.68",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/Modals/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export const ModalActionList = ({
398398
<StyledModalActionEntry
399399
color={theme.palette.text}
400400
entryColor={
401-
selected ? theme.palette.secondary : theme.palette.primary
401+
selected == entry.name ? theme.palette.secondary : theme.palette.primary
402402
}
403403
hoverColor={theme.palette.secondary}
404404
deleteColor={theme.palette.button.error}

0 commit comments

Comments
 (0)