hunk.code_window:     return ContainerStatus.Starting;
     }
     return ContainerStatus.Running;
   }
  
hunk.labels: keep keep keep keep add
hunk.after_edit: export function useShowGPUsColumn(environmentID: EnvironmentId) {
     const envInfoQuery = useInfo(
       environmentID,
       (info) => !!info.Swarm?.NodeID && !!info.Swarm?.ControlAvailable
     );
     return envInfoQuery.data !== true && !envInfoQuery.isLoading;
   }
hunk.file_path: app/react/docker/containers/utils.ts
hunk.type: add
file: angular.module('portainer.app').factory('Webhooks', [
    '$resource',
    'API_ENDPOINT_WEBHOOKS',
    function WebhooksFactory($resource, API_ENDPOINT_WEBHOOKS) {
      'use strict';
      return $resource(
        API_ENDPOINT_WEBHOOKS + '/:id',
        {},
        {
          query: { method: 'GET', isArray: true },
          create: { method: 'POST' },
          update: { method: 'PUT', params: { id: '@id' } },
          remove: { method: 'DELETE', params: { id: '@id' } },
        }
      );
    },
  ]);
  