mirror of
https://github.com/grocy/grocy.git
synced 2025-10-12 08:34:48 +00:00
Added a sub feature flag to disable chore assignments when not needed
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
e.preventDefault();
|
||||
|
||||
var jsonData = $('#chore-form').serializeJSON({ checkboxUncheckedValue: "0" });
|
||||
jsonData.assignment_config = $("#assignment_config").val().join(",");
|
||||
if (Grocy.FeatureFlags.GROCY_FEATURE_FLAG_CHORES_ASSIGNMENTS)
|
||||
{
|
||||
jsonData.assignment_config = $("#assignment_config").val().join(",");
|
||||
}
|
||||
|
||||
Grocy.FrontendHelpers.BeginUiBusy("chore-form");
|
||||
|
||||
if (Grocy.EditMode === 'create')
|
||||
|
Reference in New Issue
Block a user