Skip to content

Commit

Permalink
Disable false warning vue/no-ref-as-operand (ledgersmb#6774)
Browse files Browse the repository at this point in the history
  • Loading branch information
ylavoie committed Sep 19, 2022
1 parent 7429494 commit bed2295
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UI/src/robot-vue.js
Expand Up @@ -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 = {
Expand Down

0 comments on commit bed2295

Please sign in to comment.