Skip to content

Commit

Permalink
merged dev into cognito branch
Browse files Browse the repository at this point in the history
  • Loading branch information
temi committed Nov 27, 2024
2 parents b245826 + fb919b2 commit 6b0b7b2
Show file tree
Hide file tree
Showing 5 changed files with 371 additions and 140 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {
}


version "7.0-PWA-SNAPSHOT"
version "7.1-PWA-SNAPSHOT"
group "org.grails.plugins"

apply plugin:"eclipse"
Expand Down
6 changes: 4 additions & 2 deletions grails-app/assets/javascripts/speciesModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ var SpeciesViewModel = function(data, options, context) {
name:self.name(),
scientificName:self.scientificName(),
commonName:self.commonName(),
listId:self.listId
listId:self.listId,
outputSpeciesId:self.outputSpeciesId()
}
};

Expand All @@ -298,9 +299,10 @@ var SpeciesViewModel = function(data, options, context) {
if (!data) data = {};

self.guid(orBlank(data.guid || data.lsid));
self.name(orBlank(data.name));
self.outputSpeciesId(orBlank(data.outputSpeciesId));
self.listId(orBlank(data.listId));
self.scientificName(orBlank(data.scientificName));
self.name(orBlank(data.name));

if (!data.commonName) {
if (data.kvpValues) {
Expand Down
Loading

0 comments on commit 6b0b7b2

Please sign in to comment.