Skip to content

Commit

Permalink
Improved: updated the failed record icon properties & removed unneces…
Browse files Browse the repository at this point in the history
…sary case in getLogStatusColor function(hotwax#680)
  • Loading branch information
R-Sourabh committed Nov 26, 2024
1 parent 30acf64 commit ec1759c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/views/DataManagerLogDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@

<ion-badge v-if="log.statusId" :color="getLogStatusColor(log.statusId)">{{ translate(getStatusDesc(log.statusId)) }}</ion-badge>

<div class="ion-text-center" lines="none" v-if="log.errorRecordContentId" button @click="downloadErrorRecordFile(log)">
<ion-icon slot="icon-only" color="medium" :icon="cloudDownloadOutline" />
<div class="ion-text-center" lines="none" v-if="log.errorRecordContentId">
<ion-icon color="medium" :icon="cloudDownloadOutline" @click="downloadErrorRecordFile(log)" />
<ion-label>
<p>{{ translate('Failed records') }}</p>
</ion-label>
Expand Down Expand Up @@ -265,8 +265,6 @@ export default defineComponent ({
return 'dark';
} else if (statusId === 'SERVICE_FAILED') {
return 'danger';
} else if (statusId === 'SERVICE_PENDING') {
return 'medium';
} else {
return 'medium';
}
Expand Down

0 comments on commit ec1759c

Please sign in to comment.