more descriptive button label

deepsource-autofix-76c6eb20
Dan Gowans 2024-06-28 15:12:07 -04:00
parent 0bcc08a5ef
commit d08ffcb61d
3 changed files with 13 additions and 3 deletions

View File

@ -44,7 +44,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
<div class="control">
<button class="button is-small is-primary button--editFeeCategory" type="button">
<span class="icon is-small"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span>Edit Category</span>
<span>
${feeCategory.isGroupedFee
? 'Edit Grouped Fee'
: 'Edit Category'}
</span>
</button>
</div>
<div class="control">

View File

@ -81,7 +81,13 @@ declare const exports: Record<string, unknown>
<div class="control">
<button class="button is-small is-primary button--editFeeCategory" type="button">
<span class="icon is-small"><i class="fas fa-pencil-alt" aria-hidden="true"></i></span>
<span>Edit Category</span>
<span>
${
feeCategory.isGroupedFee
? 'Edit Grouped Fee'
: 'Edit Category'
}
</span>
</button>
</div>
<div class="control">

File diff suppressed because one or more lines are too long