Skip to content

Commit

Permalink
fix toaster
Browse files Browse the repository at this point in the history
  • Loading branch information
nelyaklyusa committed May 28, 2024
1 parent 37880ff commit be89182
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/BaseToaster/BaseToaster.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ const description = computed(() => {
<template>
<div
class="BaseToaster base-toaster"
:class="[`is--${type}`, { 'is--icon': icon }]"
:class="[`is--${type}`]"
>
<BaseSvgIcon
v-if="(type === 'error') && icon"
v-if="(type === 'error')"
class="base-toaster__icon"
alt="exclamation-circle-icon"
name="circle-exclamation"
/>
<BaseSvgIcon
v-else-if="(type === 'info') && icon"
v-else-if="(type === 'info')"
alt="info-circle-icon"
class="base-toaster__icon"
name="circle-info"
Expand Down

0 comments on commit be89182

Please sign in to comment.