|
|
|
@ -95,6 +95,28 @@ function onOpenModal(type: ViewTypes, title = '') {
|
|
|
|
|
</a-tooltip> |
|
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
|
|
<a-menu-item |
|
|
|
|
key="kanban" |
|
|
|
|
class="group !flex !items-center !my-0 nc-create-kanban-view" |
|
|
|
|
@click="onOpenModal(ViewTypes.KANBAN)" |
|
|
|
|
> |
|
|
|
|
<a-tooltip :mouse-enter-delay="1" placement="left"> |
|
|
|
|
<template #title> |
|
|
|
|
{{ $t('msg.info.addView.kanban') }} |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<div class="nc-project-menu-item text-xs flex items-center h-full w-full gap-2"> |
|
|
|
|
<component :is="viewIcons[ViewTypes.KANBAN].icon" :style="{ color: viewIcons[ViewTypes.KANBAN].color }" /> |
|
|
|
|
|
|
|
|
|
<div>{{ $t('objects.viewType.kanban') }}</div> |
|
|
|
|
|
|
|
|
|
<div class="flex-1" /> |
|
|
|
|
|
|
|
|
|
<mdi-plus class="group-hover:text-primary" /> |
|
|
|
|
</div> |
|
|
|
|
</a-tooltip> |
|
|
|
|
</a-menu-item> |
|
|
|
|
|
|
|
|
|
<div class="w-full h-4" /> |
|
|
|
|
</div> |
|
|
|
|
</a-menu> |
|
|
|
|