mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 20:30:52 +01:00
Add unique keys for react
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user