diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-09-20 09:13:50 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-09-20 10:39:50 +0300 |
commit | f829b181bc9e4e24a093bfdc191656b944ca0fb0 (patch) | |
tree | 1544da41935f869e337f3bdae6e0730861c683b5 /app/assets/javascripts/notebook | |
parent | 0f50ba47fa7d726735918a181517fe50cda1f4bc (diff) |
Resolve eslint-plugin-vue errors
The eslint-plugin-vue upgrade had some breaking changes to
vue/attribute-order which needed to be resolved in order to avoid
disabling the rule entirely
Diffstat (limited to 'app/assets/javascripts/notebook')
-rw-r--r-- | app/assets/javascripts/notebook/index.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/notebook/index.vue b/app/assets/javascripts/notebook/index.vue index e2e3b08c77f..f241df9620d 100644 --- a/app/assets/javascripts/notebook/index.vue +++ b/app/assets/javascripts/notebook/index.vue @@ -51,10 +51,10 @@ <template> <div v-if="hasNotebook"> <component - v-for="(cell, index) in cells" :is="cellType(cell.cell_type)" - :cell="cell" + v-for="(cell, index) in cells" :key="index" + :cell="cell" :code-css-class="codeCssClass" /> </div> </template> |