diff options
Diffstat (limited to 'src/components/Global/StatusIcon.vue')
-rw-r--r-- | src/components/Global/StatusIcon.vue | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/Global/StatusIcon.vue b/src/components/Global/StatusIcon.vue index a2c7f04f..d59eaec2 100644 --- a/src/components/Global/StatusIcon.vue +++ b/src/components/Global/StatusIcon.vue @@ -1,6 +1,7 @@ <template> <span :class="['status-icon', status]"> <icon-success v-if="status === 'success'" /> + <icon-warning v-else-if="status === 'warning'" /> <icon-danger v-else-if="status === 'danger'" /> <icon-secondary v-else /> </span> @@ -15,8 +16,9 @@ export default { name: 'StatusIcon', components: { iconSuccess: IconCheckmark, - iconDanger: IconWarning, - iconSecondary: IconError + iconDanger: IconError, + iconSecondary: IconError, //TODO: swap with right asset when available + iconWarning: IconWarning }, props: { status: { @@ -39,5 +41,8 @@ export default { &.secondary { fill: $secondary; } + &.warning { + fill: $warning; + } } </style> |