@@ -119,21 +119,21 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
119119 {{ task.hideCompletedSubtasks ? t('tasks', 'Show closed subtasks') : t('tasks', 'Hide closed subtasks') }}
120120 </NcActionButton >
121121 <NcActionButton v-if =" !readOnly"
122+ :close-after-click =" true"
122123 class =" reactive no-nav"
123- @click =" scheduleTaskDeletion( task)" >
124+ @click =" duplicateTask({ task } )" >
124125 <template #icon >
125- <Delete :size =" 20" />
126+ <ContentDuplicate :size =" 20" />
126127 </template >
127- {{ t('tasks', 'Delete task') }}
128+ {{ t('tasks', 'Duplicate task') }}
128129 </NcActionButton >
129130 <NcActionButton v-if =" !readOnly"
130- :close-after-click =" true"
131131 class =" reactive no-nav"
132- @click =" duplicateTask({ task } )" >
132+ @click =" scheduleTaskDeletion( task)" >
133133 <template #icon >
134- <ContentDuplicate :size =" 20" />
134+ <Delete :size =" 20" />
135135 </template >
136- {{ t('tasks', 'Duplicate task') }}
136+ {{ t('tasks', 'Delete task') }}
137137 </NcActionButton >
138138 </NcActions >
139139 <NcActions v-if =" task.deleteCountdown !== null" >
@@ -214,8 +214,8 @@ import NcTextField from '@nextcloud/vue/components/NcTextField'
214214import Linkify from ' @nextcloud/vue/directives/Linkify'
215215
216216import Bell from ' vue-material-design-icons/BellOutline.vue'
217- import Delete from ' vue-material-design-icons/TrashCanOutline.vue'
218217import ContentDuplicate from ' vue-material-design-icons/ContentDuplicate.vue'
218+ import Delete from ' vue-material-design-icons/TrashCanOutline.vue'
219219import Eye from ' vue-material-design-icons/EyeOutline.vue'
220220import Pin from ' vue-material-design-icons/PinOutline.vue'
221221import Plus from ' vue-material-design-icons/Plus.vue'
@@ -247,8 +247,8 @@ export default {
247247 NcProgressBar,
248248 NcTextField,
249249 Bell,
250- Delete,
251250 ContentDuplicate,
251+ Delete,
252252 Eye,
253253 Pin,
254254 Plus,
0 commit comments