Skip to content

Commit

Permalink
feat(ui): remove predefined env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Jun 18, 2024
1 parent 349325b commit 0bd5a03
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions web/src/components/EnvironmentForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,40 +72,6 @@
</v-tooltip>
</v-subheader>

<v-chip-group
v-model="predefinedEnvVars"
column
multiple
class="EnvironmentForm__predefinedEnvVars"
>
<v-chip
filter
outlined
v-for="item in PREDEFINED_ENV_VARS"
:key="item.name"
>
<span class="EnvironmentForm__predefinedEnvVarsValue">
{{ item.name }}={{ item.value }}
</span>
<v-tooltip
bottom
color="black"
:max-width="400"
open-delay="300"
>
<template v-slot:activator="{ on, attrs }">
<v-icon
class="ml-2"
v-bind="attrs"
v-on="on"
style="margin-right: -6px;"
>mdi-help-circle</v-icon>
</template>
<span>{{ item.description }}</span>
</v-tooltip>
</v-chip>
</v-chip-group>

<v-data-table
:items="env"
:items-per-page="-1"
Expand Down Expand Up @@ -157,20 +123,6 @@
</v-form>
</template>

<style lang="scss">
.EnvironmentForm__predefinedEnvVars {
.EnvironmentForm__predefinedEnvVarsValue {
text-decoration: line-through;
font-family: monospace;
}
.v-chip--active {
.EnvironmentForm__predefinedEnvVarsValue {
text-decoration: none;
}
}
}
</style>

<script>
/* eslint-disable import/no-extraneous-dependencies,import/extensions */
Expand Down

0 comments on commit 0bd5a03

Please sign in to comment.