Überarbeitung des Stripe Prozesses
This commit is contained in:
@@ -287,6 +287,12 @@ export function assignProperties(target, source) {
|
||||
}
|
||||
return target;
|
||||
}
|
||||
export function checkAndUpdate(changed: boolean, condition: boolean, assignment: () => any): boolean {
|
||||
if (condition) {
|
||||
assignment();
|
||||
}
|
||||
return changed || condition;
|
||||
}
|
||||
// -----------------------------
|
||||
// Criteria Proxy
|
||||
// -----------------------------
|
||||
|
||||
Reference in New Issue
Block a user