summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/terraform/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/terraform/index.js')
-rw-r--r--app/assets/javascripts/terraform/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/terraform/index.js b/app/assets/javascripts/terraform/index.js
index 1f851a4376a..571177986d2 100644
--- a/app/assets/javascripts/terraform/index.js
+++ b/app/assets/javascripts/terraform/index.js
@@ -39,7 +39,7 @@ export default () => {
return createElement(TerraformList, {
props: {
emptyStateImage,
- terraformAdmin: Object.hasOwn(el.dataset, 'terraformAdmin'),
+ terraformAdmin: el.hasAttribute('data-terraform-admin'),
},
});
},