Skip to content

Commit

Permalink
Merge pull request #50 from Web3Auth/fix/sms-icon
Browse files Browse the repository at this point in the history
sms passwordless icon fix
  • Loading branch information
chaitanyapotti authored Dec 3, 2024
2 parents 7766e91 + d3bb7b1 commit ad4174b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/MfaDetails/MfaDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ watch(isMFAEnabled, () => {
class="text-app-gray-900 dark:text-app-white w-5 h-5"
name="mail-icon"
/>
<Icon
v-else-if="userInfo?.typeOfLogin === 'sms_passwordless'"
class="text-app-gray-900 dark:text-app-white w-5 h-5"
name="annotation-icon"
/>
<img
v-else
class="w-5 h-5"
Expand Down
4 changes: 3 additions & 1 deletion src/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
WechatIcon
} from '@toruslabs/vue-icons/auth'
import { ChartBarSolidIcon } from '@toruslabs/vue-icons/charts'
import { AnnotationIcon } from '@toruslabs/vue-icons/chatting'
import { RssIcon } from '@toruslabs/vue-icons/connection'
import { ColorSwatchSolidIcon, DocumentDuplicateIcon } from '@toruslabs/vue-icons/file'
import { MobileIcon } from '@toruslabs/vue-icons/gadgets'
Expand Down Expand Up @@ -100,5 +101,6 @@ export default {
ShieldCheckIcon,
FingerPrintIcon,
SparklesSolidIcon,
ChevronRightSolidIcon
ChevronRightSolidIcon,
AnnotationIcon
} as unknown as IconSets

0 comments on commit ad4174b

Please sign in to comment.