summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/notebook
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-09-20 01:13:50 -0500
committerMike Greiling <mike@pixelcog.com>2018-09-20 02:39:50 -0500
commitf829b181bc9e4e24a093bfdc191656b944ca0fb0 (patch)
tree1544da41935f869e337f3bdae6e0730861c683b5 /app/assets/javascripts/notebook
parent0f50ba47fa7d726735918a181517fe50cda1f4bc (diff)
downloadgitlab-ce-f829b181bc9e4e24a093bfdc191656b944ca0fb0.tar.gz
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.vue4
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>