diff --git a/backend/agent-socket-handlers/docker-socket-handler.ts b/backend/agent-socket-handlers/docker-socket-handler.ts
index 93abe851..f2c66b08 100644
--- a/backend/agent-socket-handlers/docker-socket-handler.ts
+++ b/backend/agent-socket-handlers/docker-socket-handler.ts
@@ -180,7 +180,7 @@ export class DockerSocketHandler extends AgentSocketHandler {
await stack.update(socket);
callbackResult({
ok: true,
- msg: "Updated"
+ msg: `Updated: ${stackName}`
}, callback);
server.sendStackList();
} catch (e) {
diff --git a/frontend/src/components/StackList.vue b/frontend/src/components/StackList.vue
index 6b00cb24..c20bc4e1 100644
--- a/frontend/src/components/StackList.vue
+++ b/frontend/src/components/StackList.vue
@@ -8,6 +8,7 @@
+
+
+
+
@@ -346,6 +353,15 @@ export default {
this.cancelSelectMode();
},
+
+ updateAll() {
+ for (let stack of Object.values(this.$root.completeStackList)) {
+ this.$root.emitAgent(stack.endpoint, "updateStack", stack.name, (res) => {
+ this.processing = false;
+ this.$root.toastRes(res);
+ });
+ }
+ }
},
};
@@ -417,7 +433,7 @@ export default {
}
.search-input {
- max-width: 15em;
+ max-width: 10em;
}
.stack-item {
diff --git a/frontend/src/lang/en.json b/frontend/src/lang/en.json
index 93bf53a1..5d13ad28 100644
--- a/frontend/src/lang/en.json
+++ b/frontend/src/lang/en.json
@@ -112,5 +112,6 @@
"agentRemovedSuccessfully": "Agent removed successfully.",
"removeAgent": "Remove Agent",
"removeAgentMsg": "Are you sure you want to remove this agent?",
- "LongSyntaxNotSupported": "Long syntax is not supported here. Please use the YAML editor."
+ "LongSyntaxNotSupported": "Long syntax is not supported here. Please use the YAML editor.",
+ "updateAll": "Update All"
}