Skip to content

Commit

Permalink
Feat:Cancelled session's log button is disabled (#2045)
Browse files Browse the repository at this point in the history
* Apply disabled log button of cancelled session

* misc: use triple equals when checking status

---------

Co-authored-by: Jihyun Kang <jihyunkang@lablup.com>
  • Loading branch information
gee05053 and lizable committed Nov 24, 2023
1 parent d0e3415 commit a94006d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/backend-ai-session-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'}"
@click="${(e) => this._showLogs(e)}"
></mwc-icon-button>
<vaadin-tooltip
Expand Down

0 comments on commit a94006d

Please sign in to comment.