summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/registry/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/registry/index.js')
-rw-r--r--app/assets/javascripts/registry/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/registry/index.js b/app/assets/javascripts/registry/index.js
index 6fb125192b2..e15cd94a915 100644
--- a/app/assets/javascripts/registry/index.js
+++ b/app/assets/javascripts/registry/index.js
@@ -10,7 +10,7 @@ export default () => new Vue({
registryApp,
},
data() {
- const dataset = document.querySelector(this.$options.el).dataset;
+ const { dataset } = document.querySelector(this.$options.el);
return {
endpoint: dataset.endpoint,
};