Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix creating & deleting access schedules #6133

Merged
merged 5 commits into from
Oct 9, 2024

Conversation

viown
Copy link
Member

@viown viown commented Sep 28, 2024

Update to React 18 caused some issues with this.

Changes
Move deletion to a separate useEffect hook
Fix delete button from incorrectly deleting two schedules

Issues
Fixes #6119

@viown viown requested a review from a team as a code owner September 28, 2024 09:49
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

src/apps/dashboard/routes/users/parentalcontrol.tsx Outdated Show resolved Hide resolved
src/apps/dashboard/routes/users/parentalcontrol.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@viown viown force-pushed the fix-access-schedules branch from 4c3295b to 0680235 Compare September 30, 2024 14:50
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@thornbill thornbill added the bug Something isn't working label Oct 8, 2024
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link

sonarqubecloud bot commented Oct 9, 2024

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit 002b80a6a36ce297d2775a55e131da79343e7a75
Status ✅ Deployed!
Preview URL https://47ed1bb4.jellyfin-web.pages.dev
Type 🔀 Preview

@thornbill thornbill merged commit c131ff9 into jellyfin:master Oct 9, 2024
12 checks passed
@thornbill thornbill added this to the v10.10.0 milestone Oct 9, 2024
@viown viown deleted the fix-access-schedules branch October 11, 2024 01:18
kevgrig pushed a commit to kevgrig/jellyfin-web that referenced this pull request Jan 7, 2025
* Fix deleting & creating access schedules

* Remove unnecessary splice

* Add missing semicolon

* Correct check

* Add userId to dependency

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Unable to delete Access Schedules from Parental Control menu
3 participants