Commit bab361d8 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in app/assets/javascripts/environments/stores/environments_store.js

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 9613f1d7
...@@ -44,21 +44,12 @@ export default class EnvironmentsStore { ...@@ -44,21 +44,12 @@ export default class EnvironmentsStore {
storeEnvironments(environments = []) { storeEnvironments(environments = []) {
const filteredEnvironments = environments.map((env) => { const filteredEnvironments = environments.map((env) => {
const oldEnvironmentState = this.state.environments const oldEnvironmentState = this.state.environments
<<<<<<< HEAD
.find((element) => { .find((element) => {
if (env.latest) { if (env.latest) {
return element.id === env.latest.id; return element.id === env.latest.id;
} }
return element.id === env.id; return element.id === env.id;
}) || {}; }) || {};
=======
.find((element) => {
if (env.latest) {
return element.id === env.latest.id;
}
return element.id === env.id;
}) || {};
>>>>>>> origin/master
let filtered = {}; let filtered = {};
......
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