feat(FE-170,174,175): enhance grading button with consumable eggs validation and update rejection notes

This commit is contained in:
rstubryan
2025-11-18 11:11:32 +07:00
parent 6022ff2dae
commit 4dd50622a9
3 changed files with 46 additions and 4 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ export class RecordingService extends BaseApiService<
async reject(
idOrIds: number | number[],
notes: string = 'Rejected via Form'
notes: string = ''
): Promise<BaseApiResponse<Recording[]> | undefined> {
const approvable_ids = Array.isArray(idOrIds) ? idOrIds : [idOrIds];
return await this.customRequest<BaseApiResponse<Recording[]>>('approvals', {