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

Feat:Cancelled session's log button is disabled #2045

Merged
merged 2 commits into from Nov 24, 2023

Conversation

gee05053
Copy link
Member

@gee05053 gee05053 commented Nov 23, 2023

This PR resolves issue #2022

CANCELLED session's log button is disabled
스크린샷 2023-11-23 오후 3 41 37

Checklist: (if applicable)

  • Mention to the original issue
  • Documentation
  • Minium required manager version
  • Specific setting for review (eg., KB link, endpoint or how to setup)
  • Minimum requirements to check during review
  • Test case(s) to demonstrate the difference of before/after

@gee05053 gee05053 added type:enhance Add new features effort:easy Need to understand only a specific region of codes (good first issue, easy). size:XS ~10 LoC labels Nov 23, 2023
@gee05053 gee05053 self-assigned this Nov 23, 2023
@gee05053 gee05053 linked an issue Nov 23, 2023 that may be closed by this pull request
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2045.d3g9cs6u59b8lw.amplifyapp.com

@@ -2928,6 +2928,7 @@ ${rowData.item[this.sessionNameField]}</pre
class="fg blue controls-running"
id="${rowData.index + '-assignment'}"
icon="assignment"
?disabled="${rowData.item.status === 'CANCELLED'}"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a minor thing, but I think we shall use triple equal (===) instead of ==. Please refer here.

Copy link
Contributor

Choose a reason for hiding this comment

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

And I just changed the operator to triple equal sign.

Copy link
Contributor

@lizable lizable left a comment

Choose a reason for hiding this comment

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

LGTM.

@lizable lizable merged commit a94006d into main Nov 24, 2023
6 checks passed
@lizable lizable deleted the feat/disabled-log-button-cancelled-session branch November 24, 2023 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:easy Need to understand only a specific region of codes (good first issue, easy). size:XS ~10 LoC type:enhance Add new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabled log button of CANCELLED session
2 participants