Skip to content

Commit 889f067

Browse files
committed
style(accounts): colored rounded quick-tag chips + clear edit state on remove
1 parent 1235f47 commit 889f067

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

frontend/src/app/pages/accounts/accounts-list.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
<p-button
4646
*ngFor="let tag of pageConfig.quickTags"
4747
[label]="tag.label"
48-
severity="secondary"
48+
severity="info"
4949
size="small"
50-
[outlined]="true"
50+
[rounded]="true"
5151
(click)="applyQuickTag(tag)">
5252
</p-button>
5353
<p-button

frontend/src/app/pages/accounts/accounts-list.component.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ export class AccountsListComponent implements OnInit, AfterViewInit {
342342
}
343343

344344
async removeQuickTag(index: number): Promise<void> {
345+
if (this.editingIndex !== null) {
346+
this.editingIndex = null;
347+
this.editDraft = null;
348+
}
345349
this.pageConfig = {
346350
...this.pageConfig,
347351
quickTags: this.pageConfig.quickTags.filter((_, i) => i !== index),

0 commit comments

Comments
 (0)