fix(ListList): use ButtonLink
This commit is contained in:
parent
6ddede4863
commit
9a26310ad6
1 changed files with 4 additions and 2 deletions
|
@ -65,9 +65,9 @@
|
||||||
|
|
||||||
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
|
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
|
||||||
{{ $t('list.list.empty') }}
|
{{ $t('list.list.empty') }}
|
||||||
<BaseButton @click="focusNewTaskInput()">
|
<ButtonLink @click="focusNewTaskInput()">
|
||||||
{{ $t('list.list.newTaskCta') }}
|
{{ $t('list.list.newTaskCta') }}
|
||||||
</BaseButton>
|
</ButtonLink>
|
||||||
</nothing>
|
</nothing>
|
||||||
|
|
||||||
<div class="tasks-container" :class="{ 'has-task-edit-open': isTaskEdit }">
|
<div class="tasks-container" :class="{ 'has-task-edit-open': isTaskEdit }">
|
||||||
|
@ -135,6 +135,7 @@
|
||||||
import { ref, toRef, defineComponent } from 'vue'
|
import { ref, toRef, defineComponent } from 'vue'
|
||||||
|
|
||||||
import BaseButton from '@/components/base/BaseButton.vue'
|
import BaseButton from '@/components/base/BaseButton.vue'
|
||||||
|
import ButtonLink from '@/components/misc/ButtonLink.vue'
|
||||||
import ListWrapper from './ListWrapper.vue'
|
import ListWrapper from './ListWrapper.vue'
|
||||||
import EditTask from '@/components/tasks/edit-task'
|
import EditTask from '@/components/tasks/edit-task'
|
||||||
import AddTask from '@/components/tasks/add-task'
|
import AddTask from '@/components/tasks/add-task'
|
||||||
|
@ -200,6 +201,7 @@ export default defineComponent({
|
||||||
AddTask,
|
AddTask,
|
||||||
draggable,
|
draggable,
|
||||||
Pagination,
|
Pagination,
|
||||||
|
ButtonLink,
|
||||||
},
|
},
|
||||||
|
|
||||||
setup(props) {
|
setup(props) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue