remove payday debug and add multiple ui fixes
This commit is contained in:
@@ -11,13 +11,6 @@ export async function myChores(pb: any, famId: string, memberId: string) {
|
||||
pb.collection('bonus_configs').getFullList({ filter: `famId = '${famId}' && status = 'active'` })
|
||||
]);
|
||||
const { payday, paydayTime, tz } = await famMeta(pb, famId);
|
||||
let settings: any = {};
|
||||
try {
|
||||
const s = await pb
|
||||
.collection('settings')
|
||||
.getFullList({ filter: `famId = '${famId}'` });
|
||||
settings = s?.[0] || {};
|
||||
} catch {}
|
||||
return {
|
||||
templates,
|
||||
assigned,
|
||||
@@ -26,8 +19,7 @@ export async function myChores(pb: any, famId: string, memberId: string) {
|
||||
bonusConfigs,
|
||||
payday,
|
||||
paydayTime,
|
||||
timezone: tz,
|
||||
simulateEow: !!settings.simulateEow
|
||||
timezone: tz
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user