summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/environments/components/environment_terminal_button.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/environments/components/environment_terminal_button.js')
-rw-r--r--app/assets/javascripts/environments/components/environment_terminal_button.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/app/assets/javascripts/environments/components/environment_terminal_button.js b/app/assets/javascripts/environments/components/environment_terminal_button.js
deleted file mode 100644
index e86607e78f4..00000000000
--- a/app/assets/javascripts/environments/components/environment_terminal_button.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * Renders a terminal button to open a web terminal.
- * Used in environments table.
- */
-const Vue = require('vue');
-const terminalIconSvg = require('icons/_icon_terminal.svg');
-
-module.exports = Vue.component('terminal-button-component', {
- props: {
- terminalPath: {
- type: String,
- default: '',
- },
- },
-
- data() {
- return { terminalIconSvg };
- },
-
- template: `
- <a class="btn terminal-button"
- :href="terminalPath">
- ${terminalIconSvg}
- </a>
- `,
-});