From 26328b16ddab856aaf57808fdbbbb7d9b3ea08f6 Mon Sep 17 00:00:00 2001 From: Artur Fedorov <afedorov@gitlab.com> Date: Fri, 5 Jul 2024 00:09:34 +0200 Subject: [PATCH] Remove Vue set for vue 3 migration Vue.set is no longer supported in Vue 3 has to be replaced with common mutation --- app/assets/javascripts/pipeline_wizard/components/step.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/pipeline_wizard/components/step.vue b/app/assets/javascripts/pipeline_wizard/components/step.vue index c6ee883aec8df8..2a26720eacd53f 100644 --- a/app/assets/javascripts/pipeline_wizard/components/step.vue +++ b/app/assets/javascripts/pipeline_wizard/components/step.vue @@ -107,7 +107,9 @@ export default { } }, onInputValidationStateChange(inputId, value) { - this.$set(this.inputValidStates, inputId, value); + const copy = [...this.inputValidStates]; + copy[inputId] = value; + this.inputValidStates = copy; }, onHighlight(path) { this.$emit('update:highlight', path); -- GitLab