Skip to content

Commit

Permalink
add icon for on device
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellamaki committed Sep 28, 2023
1 parent 0d2a196 commit bfb42b0
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
</td>
<td>
<KIcon
v-if="downloadStatusIcon(download)"
:icon="downloadStatusIcon(download)"
:color="download.status === 'PENDING' ? $themeTokens.annotation : null"
class="icon"
Expand Down Expand Up @@ -319,6 +318,9 @@
downloadStatusIcon(download) {
let icon;
switch (download.status) {
case 'COMPLETED':
icon = 'correct';
break;
case 'PENDING':
icon = 'timer';
break;
Expand Down Expand Up @@ -398,14 +400,8 @@
text-align: right;
}
.icon {
width: 24px !important;
height: 24px !important;
}
.status-text {
position: relative;
top: -4px;
padding: 8px;
}
Expand Down

0 comments on commit bfb42b0

Please sign in to comment.