From a153005a79951bc9fe7f8540ccd115ce26c4c79a Mon Sep 17 00:00:00 2001 From: Daniel Herrero Date: Wed, 21 Feb 2018 11:10:00 +0100 Subject: [PATCH] bugs fixed with itemBotanical model --- client/item/src/botanical/item-botanical.html | 6 ++++-- client/item/src/summary/item-summary.js | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/item/src/botanical/item-botanical.html b/client/item/src/botanical/item-botanical.html index de6b31787..262baffff 100644 --- a/client/item/src/botanical/item-botanical.html +++ b/client/item/src/botanical/item-botanical.html @@ -1,10 +1,12 @@ @@ -30,7 +32,7 @@ url="/item/api/species" show-field="latin_species_name" value-field="specie_id" - label="Specie"> + label="Species"> diff --git a/client/item/src/summary/item-summary.js b/client/item/src/summary/item-summary.js index 2ca87fdad..92b6e7f1e 100644 --- a/client/item/src/summary/item-summary.js +++ b/client/item/src/summary/item-summary.js @@ -39,7 +39,6 @@ class ItemSummary { }; this.$http.get(`/item/api/ItemNiches?filter=${JSON.stringify(filter)}`).then(response => { this.niches = response.data; - this.setOldNiches(response); }); }