We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c564b9a commit 9420141Copy full SHA for 9420141
1 file changed
editor/src/app/state/extensions/reducer.ts
@@ -80,7 +80,16 @@ export const extensionsReducer = createReducer(
80
(command) =>
81
commandMatcher(command, newCommand, ignoreVersionAndPlatform),
82
'id',
83
- () => (newCommand.id && newCommand.name ? newCommand : null),
+ (c) =>
84
+ newCommand.id && newCommand.name
85
+ ? ignoreVersionAndPlatform
86
+ ? {
87
+ ...newCommand,
88
+ platforms: c.platforms,
89
+ versions: c.versions,
90
+ }
91
+ : newCommand
92
+ : null,
93
() => (newCommand.id && newCommand.name ? newCommand : null)
94
),
95
}),
0 commit comments