Skip to content

Commit

Permalink
fix styling and button propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
elvece committed Jan 27, 2025
1 parent 50dcba5 commit b48e069
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
lines="none"
*ngFor="let request of actionRequests[pkgId]"
button
(click)="handleAction(request)"
(click)="handleAction(request, $event)"
>
<ion-icon
slot="start"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ ion-icon {
}

:host ::ng-deep ion-item {
display: inline;
display: table-row;
width: fit-content;
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export class AppShowActionRequestsComponent {
}
constructor(private readonly actionService: ActionService) {}

async handleAction(request: T.ActionRequest) {
async handleAction(request: T.ActionRequest, e: Event) {
e.stopPropagation()
const self = request.packageId === this.manifest.id
this.actionService.present({
pkgInfo: {
Expand Down

0 comments on commit b48e069

Please sign in to comment.