Add unique keys for react

This commit is contained in:
Rene Pfeuffer
2019-10-01 09:55:00 +02:00
parent a511b39713
commit 92af956c5e

View File

@@ -122,6 +122,7 @@ class PluginsOverview extends React.Component<Props> {
) {
buttons.push(
<MultiPluginAction
key={MultiPluginActionType.EXECUTE_PENDING}
pendingPlugins={pendingPlugins}
actionType={MultiPluginActionType.EXECUTE_PENDING}
/>
@@ -135,6 +136,7 @@ class PluginsOverview extends React.Component<Props> {
) {
buttons.push(
<MultiPluginAction
key={MultiPluginActionType.CANCEL_PENDING}
pendingPlugins={pendingPlugins}
actionType={MultiPluginActionType.CANCEL_PENDING}
/>
@@ -144,6 +146,7 @@ class PluginsOverview extends React.Component<Props> {
if (collection && collection._links && collection._links.update) {
buttons.push(
<MultiPluginAction
key={MultiPluginActionType.UPDATE_ALL}
installedPlugins={collection}
actionType={MultiPluginActionType.UPDATE_ALL}
/>