Skip to content

fix: make handleDelete manual to prevent unintended calls#2978

Merged
emp74ark merged 1 commit intomasterfrom
emp74ark/rsschool-app-2977
Mar 26, 2026
Merged

fix: make handleDelete manual to prevent unintended calls#2978
emp74ark merged 1 commit intomasterfrom
emp74ark/rsschool-app-2977

Conversation

@emp74ark
Copy link
Copy Markdown
Contributor

@emp74ark emp74ark commented Mar 26, 2026

Issue:
#2977

Description:
On visit course/admin/reports?course=SOME_COURSE error in browser console:

installHook.js:1 RequiredError:
 Required parameter id was null or undefined when calling deleteExpelledStat.

Error caused automatical execution of the useRequest.

Self-Check:

  • Changes tested locally

@emp74ark emp74ark linked an issue Mar 26, 2026 that may be closed by this pull request
@aliakseitokarev aliakseitokarev self-requested a review March 26, 2026 21:14
@emp74ark emp74ark merged commit 30cf344 into master Mar 26, 2026
6 of 8 checks passed
@emp74ark emp74ark deleted the emp74ark/rsschool-app-2977 branch March 26, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deleteExpelledStat get id === null

2 participants