Add FamDone Brand component and add rewards count system
This commit is contained in:
@@ -513,6 +513,10 @@ async function ensureBonusFields(): Promise<void> {
|
||||
changed = true;
|
||||
}
|
||||
}
|
||||
if (name === 'bonus_configs' && !has('targetChoreId')) {
|
||||
fields.push({ name: 'targetChoreId', type: 'text', required: false });
|
||||
changed = true;
|
||||
}
|
||||
// rewardValue must be optional so an unset pocket-money droplet can exist.
|
||||
const rv = fields.find((f: any) => f.name === 'rewardValue');
|
||||
if (rv && rv.required) {
|
||||
|
||||
Reference in New Issue
Block a user