bugs fixed with itemBotanical model
This commit is contained in:
parent
f1f8c74175
commit
a153005a79
|
@ -1,10 +1,12 @@
|
|||
<mg-ajax
|
||||
path="/item/api/ItemBotanicals/{{patch.params.id}}"
|
||||
path="/item/api/ItemBotanicals"
|
||||
options="vnPatch">
|
||||
</mg-ajax>
|
||||
<vn-watcher
|
||||
vn-id="watcher"
|
||||
data="$ctrl.botanical"
|
||||
id-field="itemFk"
|
||||
required-field="itemFk"
|
||||
form="form"
|
||||
save="patch">
|
||||
</vn-watcher>
|
||||
|
@ -30,7 +32,7 @@
|
|||
url="/item/api/species"
|
||||
show-field="latin_species_name"
|
||||
value-field="specie_id"
|
||||
label="Specie">
|
||||
label="Species">
|
||||
</vn-autocomplete>
|
||||
</vn-horizontal>
|
||||
</vn-vertical>
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue