Skip to content

Conversation

krystian-panek-vmltech
Copy link
Collaborator

No description provided.

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a refresh issue in script list components by ensuring that selected items are cleared after delete/sync operations. The changes introduce a wrapper function that combines the existing loadScripts functionality with clearing the selection state.

  • Adds handleLoadScripts wrapper function that calls loadScripts and clears selected keys
  • Updates delete and sync button callbacks to use the new wrapper function

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ScriptManualList.tsx Adds handleLoadScripts wrapper and updates delete button to clear selection after deletion
ScriptAutomaticList.tsx Adds handleLoadScripts wrapper and updates both delete and sync buttons to clear selection after operations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@krystian-panek-vmltech krystian-panek-vmltech merged commit 0356047 into main Aug 26, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant