diff --git a/src/app.jsx b/src/app.jsx index a9ea110ed..4503cd443 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -375,10 +375,20 @@ class Application extends React.Component { switch (event.Action) { /* The following events do not need to trigger any state updates */ case 'attach': + case 'checkpoint': + case 'cleanup': case 'exec': + case 'exec_died': case 'export': case 'import': case 'init': + case 'kill': + case 'mount': + case 'prune': + case 'restart': + case 'restore': + case 'sync': + case 'unmount': case 'wait': break; /* The following events need only to update the Container list @@ -393,20 +403,10 @@ class Application extends React.Component { : this.updatePods(system) ).then(() => this.updateContainer(id, system, event)); break; - case 'checkpoint': case 'create': case 'died': - case 'exec_died': - case 'kill': - case 'cleanup': - case 'mount': case 'pause': - case 'prune': - case 'restart': - case 'restore': case 'stop': - case 'sync': - case 'unmount': case 'unpause': case 'rename': // rename event is available starting podman v4.1; until then the container does not get refreshed after renaming this.updateContainer(id, system, event);