From 9ffaed82c53dec2c8d41bf06bfd03f39fca7c122 Mon Sep 17 00:00:00 2001 From: chrisala Date: Mon, 8 Jan 2024 17:04:38 +1100 Subject: [PATCH] Reverted lifecycle to non-observable #219 --- grails-app/assets/javascripts/forms-knockout-bindings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grails-app/assets/javascripts/forms-knockout-bindings.js b/grails-app/assets/javascripts/forms-knockout-bindings.js index 06b2b2f..fab0809 100644 --- a/grails-app/assets/javascripts/forms-knockout-bindings.js +++ b/grails-app/assets/javascripts/forms-knockout-bindings.js @@ -1204,7 +1204,7 @@ } } var dependencyTracker = ko.computed(function () { - var initialised = (dataModelItem.context.lifecycleState && dataModelItem.context.lifecycleState() == 'initialised'); + var initialised = (dataModelItem.context.lifecycleState && dataModelItem.context.lifecycleState.state == 'initialised'); dataLoader.prepop(config).done(function (data) {