Skip to content

Fix(UI): Fixes broken "Cancel Current Item" button in left panel introduced in last commit.#8925

Merged
lstein merged 1 commit intoinvoke-ai:mainfrom
DustyShoe:Fix(UI)/Cancel-current-item-button
Feb 28, 2026
Merged

Fix(UI): Fixes broken "Cancel Current Item" button in left panel introduced in last commit.#8925
lstein merged 1 commit intoinvoke-ai:mainfrom
DustyShoe:Fix(UI)/Cancel-current-item-button

Conversation

@DustyShoe
Copy link
Copy Markdown
Collaborator

@DustyShoe DustyShoe commented Feb 27, 2026

Summary

Fixed a regression introduced in 146b936 where the Cancel current item button was always disabled during generation in single-user mode.

What changed:

  • Updated useCancelCurrentQueueItem.ts to check setup mode via useGetSetupStatusQuery.
  • In single-user mode (multiuser_enabled = false), canceling the current item is now allowed again.
  • Multiuser authorization remains unchanged: only admins or the item owner can cancel.

QA Instructions

Merge Plan

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Tests added / updated (if applicable)
  • ❗Changes to a redux slice have a corresponding migration
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

@github-actions github-actions bot added the frontend PRs that change frontend files label Feb 27, 2026
Copy link
Copy Markdown
Collaborator

@lstein lstein left a comment

Choose a reason for hiding this comment

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

Works as advertised.

Supersedes: #8926

@lstein lstein merged commit c83c4af into invoke-ai:main Feb 28, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend PRs that change frontend files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants