From 3c0564735fca7c9197f38f35a0aaf0e125476fb3 Mon Sep 17 00:00:00 2001 From: Andrew Lindesay Date: Wed, 21 Aug 2024 08:09:50 +1200 Subject: [PATCH] fix the package category import task --- .../pkgcategorycoverageimportspreadsheetcontroller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haikudepotserver-spa1/src/main/javascript/app/controller/pkgcategorycoverageimportspreadsheetcontroller.js b/haikudepotserver-spa1/src/main/javascript/app/controller/pkgcategorycoverageimportspreadsheetcontroller.js index 7bb6b133..475b1f88 100644 --- a/haikudepotserver-spa1/src/main/javascript/app/controller/pkgcategorycoverageimportspreadsheetcontroller.js +++ b/haikudepotserver-spa1/src/main/javascript/app/controller/pkgcategorycoverageimportspreadsheetcontroller.js @@ -44,7 +44,7 @@ angular.module('haikudepotserver').controller( // input for this importation process. function validateImportDataFile(file, model) { - model.$setValidity('badsize',undefined === file || (file.size > 24 && file.size < IMPORT_SIZE_LIMIT)); + model.$setValidity('badsize',undefined === file || !(file.size > 24 && file.size < IMPORT_SIZE_LIMIT)); } function importDataFileDidChange() {