Commit 37308484 authored by Filipa Lacerda's avatar Filipa Lacerda

Changes after review

parent 6e6e3676
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
<ul <ul
v-if="!isLoading" v-if="!isLoading"
class="nav-links"> class="nav-links">
<li :class="{ 'active': scope === null || scope === 'available' }"> <li :class="{ active: scope === null || scope === 'available' }">
<a :href="projectEnvironmentsPath"> <a :href="projectEnvironmentsPath">
Available Available
<span class="badge js-available-environments-count"> <span class="badge js-available-environments-count">
......
import Vue from 'vue'; import Vue from 'vue';
import EnvironmentsComponent from './components/environment.vue'; import EnvironmentsComponent from './components/environment.vue';
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => new Vue({
// eslint-disable-next-line no-new
new Vue({
el: '#environments-list-view', el: '#environments-list-view',
components: { components: {
'environments-table-app': EnvironmentsComponent, 'environments-table-app': EnvironmentsComponent,
}, },
render: createElement => createElement('environments-table-app'), render: createElement => createElement('environments-table-app'),
}); }));
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment