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: Move terminate button to end of session card #2030

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -158,17 +158,6 @@ <h3 class="text-balance font-bold leading-tight">
}
</div>
<div class="flex flex-wrap justify-between">
@if (!isSessionShared(session)) {
<button
mat-button
color="warn"
(click)="openDeletionDialog([session])"
>
Terminate
<mat-icon>close</mat-icon>
</button>
}

<button
mat-button
color="primary"
Expand All @@ -187,10 +176,9 @@ <h3 class="text-balance font-bold leading-tight">
[disabled]="!session.connection_method?.sharing?.enabled"
>
Share
<mat-icon> screen_share</mat-icon>
<mat-icon>screen_share</mat-icon>
</button>
}
@if (!isSessionShared(session)) {

<button
mat-button
color="primary"
Expand All @@ -200,6 +188,15 @@ <h3 class="text-balance font-bold leading-tight">
File browser
<mat-icon>insert_drive_file</mat-icon>
</button>

<button
mat-button
color="warn"
(click)="openDeletionDialog([session])"
>
Terminate
<mat-icon>close</mat-icon>
</button>
}
</div>
</div>
Expand Down
Loading