From d36a1a5aa656ec67dd6e483ce336bc2d997cc8e6 Mon Sep 17 00:00:00 2001 From: Andrea Leardini Date: Mon, 10 Jun 2024 17:27:16 +0200 Subject: [PATCH] fix: fix node id when setting fqdn to a node (#644) --- core/ui/src/components/nodes/SetFqdnModal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ui/src/components/nodes/SetFqdnModal.vue b/core/ui/src/components/nodes/SetFqdnModal.vue index f97b95be7..ba863d383 100644 --- a/core/ui/src/components/nodes/SetFqdnModal.vue +++ b/core/ui/src/components/nodes/SetFqdnModal.vue @@ -119,7 +119,7 @@ export default { ); const res = await to( - this.createNodeTask(1, { + this.createNodeTask(this.node.id, { action: taskAction, extra: { title: this.$t("action." + taskAction), @@ -209,7 +209,7 @@ export default { ); const res = await to( - this.createNodeTask(1, { + this.createNodeTask(this.node.id, { action: taskAction, data: { hostname: this.hostname,