Skip to content

fix: view mode when issues are errors#969

Merged
alebinson merged 1 commit into
masterfrom
view_mode_when_issues_are_errors
May 20, 2026
Merged

fix: view mode when issues are errors#969
alebinson merged 1 commit into
masterfrom
view_mode_when_issues_are_errors

Conversation

@alebinson
Copy link
Copy Markdown
Collaborator

No description provided.

@alebinson alebinson requested a review from EllaMartirosyan May 20, 2026 11:26
const jobStatus = displayJob?.details?.status as Status | undefined;

const isViewOnly = useMemo(() => {
const isStatusReadOnly = jobStatus != null && FINAL_STATUSES.includes(jobStatus);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe we should fix this line to:
const isStatusReadOnly = jobStatus != null && jobStatus !== Status.Suspended;

@alebinson alebinson merged commit d437604 into master May 20, 2026
3 checks passed
@alebinson alebinson deleted the view_mode_when_issues_are_errors branch May 20, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants