Skip to content

Commit

Permalink
Improved: the UI for custom field button and removed todo statement(#269
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ymaheshwari1 committed Sep 26, 2023
1 parent 7d6eef5 commit aced1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/DownloadPackedOrders.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
</ion-list>

<ion-list>
<!-- TODO: check if we can have button inside header and if yes how to move the button to end -->
<ion-list-header>{{ $t('Selected Fields: ') }} {{ Object.keys(selectedFieldMappings).length }}
<ion-list-header>
<ion-label>{{ $t('Selected Fields: ') }} {{ Object.keys(selectedFieldMappings).length }}</ion-label>
<ion-button fill="clear" @click="addCustomField()" :disabled="!Object.keys(fieldMapping).length">{{ $t('Add custom field') }}</ion-button>
</ion-list-header>
<ion-reorder-group @ionItemReorder="doReorder($event)" :disabled="false">
Expand Down

0 comments on commit aced1bc

Please sign in to comment.