test: utils
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
}"
|
||||
>
|
||||
<template #body-content>
|
||||
<div class="flex flex-col gap-4">
|
||||
<div class="flex flex-col gap-4 text-base">
|
||||
<p class="text-ink-gray-9">
|
||||
{{
|
||||
__(
|
||||
@@ -39,6 +39,9 @@
|
||||
<template v-slot="{ file, progress, uploading, openFileSelector }">
|
||||
<div class="">
|
||||
<Button @click="openFileSelector" :loading="uploading">
|
||||
<template #prefix>
|
||||
<Upload class="size-4 stroke-1.5" />
|
||||
</template>
|
||||
{{
|
||||
uploading ? `Uploading ${progress}%` : 'Upload your resume'
|
||||
}}
|
||||
@@ -66,7 +69,7 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import { Dialog, FileUploader, Button, createResource, toast } from 'frappe-ui'
|
||||
import { FileText } from 'lucide-vue-next'
|
||||
import { FileText, Upload } from 'lucide-vue-next'
|
||||
import { ref, inject } from 'vue'
|
||||
import { getFileSize } from '@/utils/'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user