summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages/groups/settings/ci_cd/show/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/pages/groups/settings/ci_cd/show/index.js')
-rw-r--r--app/assets/javascripts/pages/groups/settings/ci_cd/show/index.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/groups/settings/ci_cd/show/index.js b/app/assets/javascripts/pages/groups/settings/ci_cd/show/index.js
new file mode 100644
index 00000000000..f26c7360fbe
--- /dev/null
+++ b/app/assets/javascripts/pages/groups/settings/ci_cd/show/index.js
@@ -0,0 +1,11 @@
+import SecretValues from '~/behaviors/secret_values';
+
+export default () => {
+ const secretVariableTable = document.querySelector('.js-secret-variable-table');
+ if (secretVariableTable) {
+ const secretVariableTableValues = new SecretValues({
+ container: secretVariableTable,
+ });
+ secretVariableTableValues.init();
+ }
+};