Commit 235acce0 authored by Filipa Lacerda's avatar Filipa Lacerda

Resolve conflicts in environments code

parent d5f68aec
...@@ -86,11 +86,7 @@ module.exports = Vue.component('environment-component', { ...@@ -86,11 +86,7 @@ module.exports = Vue.component('environment-component', {
this.isLoading = true; this.isLoading = true;
<<<<<<< HEAD:app/assets/javascripts/environments/components/environment.js
return this.service.get() return this.service.get()
=======
return service.get()
>>>>>>> ce-com/master:app/assets/javascripts/environments/components/environment.js
.then(resp => ({ .then(resp => ({
headers: resp.headers, headers: resp.headers,
body: resp.json(), body: resp.json(),
...@@ -195,18 +191,10 @@ module.exports = Vue.component('environment-component', { ...@@ -195,18 +191,10 @@ module.exports = Vue.component('environment-component', {
<environment-table <environment-table
:environments="state.environments" :environments="state.environments"
:can-create-deployment="canCreateDeploymentParsed" :can-create-deployment="canCreateDeploymentParsed"
<<<<<<< HEAD:app/assets/javascripts/environments/components/environment.js
:can-read-environment="canReadEnvironmentParsed" :can-read-environment="canReadEnvironmentParsed"
:play-icon-svg="playIconSvg"
:terminal-icon-svg="terminalIconSvg"
:commit-icon-svg="commitIconSvg"
:toggleDeployBoard="toggleDeployBoard" :toggleDeployBoard="toggleDeployBoard"
:store="store" :store="store"
:service="service"> :service="service"/>
</environment-table>
=======
:can-read-environment="canReadEnvironmentParsed"/>
>>>>>>> ce-com/master:app/assets/javascripts/environments/components/environment.js
</div> </div>
<table-pagination v-if="state.paginationInformation && state.paginationInformation.totalPages > 1" <table-pagination v-if="state.paginationInformation && state.paginationInformation.totalPages > 1"
......
...@@ -46,29 +46,11 @@ module.exports = Vue.component('environment-item', { ...@@ -46,29 +46,11 @@ module.exports = Vue.component('environment-item', {
required: false, required: false,
default: false, default: false,
}, },
<<<<<<< HEAD:app/assets/javascripts/environments/components/environment_item.js
commitIconSvg: {
type: String,
required: false,
},
playIconSvg: {
type: String,
required: false,
},
terminalIconSvg: {
type: String,
required: false,
},
toggleDeployBoard: { toggleDeployBoard: {
type: Function, type: Function,
required: false, required: false,
}, },
=======
>>>>>>> ce-com/master:app/assets/javascripts/environments/components/environment_item.js
}, },
computed: { computed: {
......
...@@ -33,22 +33,6 @@ module.exports = Vue.component('environment-table-component', { ...@@ -33,22 +33,6 @@ module.exports = Vue.component('environment-table-component', {
required: false, required: false,
default: false, default: false,
}, },
<<<<<<< HEAD:app/assets/javascripts/environments/components/environments_table.js
commitIconSvg: {
type: String,
required: false,
},
playIconSvg: {
type: String,
required: false,
},
terminalIconSvg: {
type: String,
required: false,
},
toggleDeployBoard: { toggleDeployBoard: {
type: Function, type: Function,
...@@ -67,8 +51,6 @@ module.exports = Vue.component('environment-table-component', { ...@@ -67,8 +51,6 @@ module.exports = Vue.component('environment-table-component', {
required: false, required: false,
default: () => ({}), default: () => ({}),
}, },
=======
>>>>>>> ce-com/master:app/assets/javascripts/environments/components/environments_table.js
}, },
template: ` template: `
...@@ -90,11 +72,7 @@ module.exports = Vue.component('environment-table-component', { ...@@ -90,11 +72,7 @@ module.exports = Vue.component('environment-table-component', {
<tr is="environment-item" <tr is="environment-item"
:model="model" :model="model"
:can-create-deployment="canCreateDeployment" :can-create-deployment="canCreateDeployment"
<<<<<<< HEAD:app/assets/javascripts/environments/components/environments_table.js
:can-read-environment="canReadEnvironment" :can-read-environment="canReadEnvironment"
:play-icon-svg="playIconSvg"
:terminal-icon-svg="terminalIconSvg"
:commit-icon-svg="commitIconSvg"
:toggleDeployBoard="toggleDeployBoard"></tr> :toggleDeployBoard="toggleDeployBoard"></tr>
<tr v-if="model.hasDeployBoard && model.isDeployBoardVisible" class="js-deploy-board-row"> <tr v-if="model.hasDeployBoard && model.isDeployBoardVisible" class="js-deploy-board-row">
...@@ -108,9 +86,6 @@ module.exports = Vue.component('environment-table-component', { ...@@ -108,9 +86,6 @@ module.exports = Vue.component('environment-table-component', {
</deploy-board> </deploy-board>
</td> </td>
</tr> </tr>
=======
:can-read-environment="canReadEnvironment"></tr>
>>>>>>> ce-com/master:app/assets/javascripts/environments/components/environments_table.js
</template> </template>
</tbody> </tbody>
</table> </table>
......
...@@ -93,11 +93,7 @@ module.exports = Vue.component('environment-folder-view', { ...@@ -93,11 +93,7 @@ module.exports = Vue.component('environment-folder-view', {
this.isLoading = true; this.isLoading = true;
<<<<<<< HEAD:app/assets/javascripts/environments/folder/environments_folder_view.js
return this.service.get() return this.service.get()
=======
return service.get()
>>>>>>> ce-com/master:app/assets/javascripts/environments/folder/environments_folder_view.js
.then(resp => ({ .then(resp => ({
headers: resp.headers, headers: resp.headers,
body: resp.json(), body: resp.json(),
......
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