Skip to content

Commit

Permalink
sms passwordless icon fix
Browse files Browse the repository at this point in the history
  • Loading branch information
smgv committed Dec 3, 2024
1 parent 7766e91 commit d3bb7b1
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 d3bb7b1

Please sign in to comment.