From 7c68f8f67276d75455a7138b7b8e75b13b291c8d Mon Sep 17 00:00:00 2001 From: Yves Lavoie Date: Sun, 18 Sep 2022 20:07:30 -0400 Subject: [PATCH] Disable false warning vue/no-ref-as-operand --- UI/src/robot-vue.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UI/src/robot-vue.js b/UI/src/robot-vue.js index efe5d76fd5..64a98a5a31 100644 --- a/UI/src/robot-vue.js +++ b/UI/src/robot-vue.js @@ -75,9 +75,11 @@ function contextRef(service, key) { typeof service.context[key] === typeof {} ) { const s = service; + // eslint-disable-next-line vue/no-ref-as-operand ref = reactive(service.context[key]); s.context[key] = ref; } else { + // eslint-disable-next-line vue/no-ref-as-operand ref = allocRef(service.context[key]); } const ctxRef = {