From b6223a4e4c4185fc4562d2f3f4c694a4f2d62161 Mon Sep 17 00:00:00 2001 From: temi Date: Fri, 10 Jan 2025 17:06:18 +1100 Subject: [PATCH] fixed bug --- grails-app/assets/javascripts/speciesModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/assets/javascripts/speciesModel.js b/grails-app/assets/javascripts/speciesModel.js index dd6ad02..a5dc307 100644 --- a/grails-app/assets/javascripts/speciesModel.js +++ b/grails-app/assets/javascripts/speciesModel.js @@ -352,7 +352,7 @@ var SpeciesViewModel = function(data, options, context) { } if (self.guid() && !options.printable) { - if (SPECIAL_GUIDS.indexOf(self.guid()) === -1) { + if (SPECIAL_GUIDS.indexOf(self.guid()) >= 0) { var profileInfo = "No profile available"; self.transients.speciesInformation(profileInfo); }