chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:08:39 +08:00
commit a0df89c693
5252 changed files with 523444 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
angular.module('portainer.docker').factory('TaskHelper', [
function TaskHelperFactory() {
'use strict';
var helper = {};
helper.associateContainerToTask = associateContainerToTaskAJS;
return helper;
function associateContainerToTaskAJS(task, containers) {
const container = containers.find((c) => c.Id === task.ContainerId);
if (container) {
task.Container = container;
}
}
},
]);