no need to covert to boolean

This commit is contained in:
taehoon 2019-04-25 12:34:46 -04:00
parent 670cbfdd1c
commit 3b9ab0e343

View file

@ -1,6 +1,6 @@
<template>
<button :disabled="progress || disabled" @click="onClick">
<template v-if="progress && !!$slots.progress">
<template v-if="progress && $slots.progress">
<slot name="progress" />
</template>
<template v-else>