|
|
|
@ -70,8 +70,11 @@ export const useTaskActions = (reload = (id: number) => {}) => {
@@ -70,8 +70,11 @@ export const useTaskActions = (reload = (id: number) => {}) => {
|
|
|
|
|
if (!result) return |
|
|
|
|
const firstTaskKey = Object.keys(result)[0] |
|
|
|
|
const firstExecutorKey = Object.keys(result[firstTaskKey])[0] |
|
|
|
|
|
|
|
|
|
const title = Object.keys(result).length > 1 ? 'Задачі перепоставлені!' : 'Задача перепоставлена!' |
|
|
|
|
|
|
|
|
|
appEvents.emit('openInfoModal', { |
|
|
|
|
title: 'Задача перепоставлена!', |
|
|
|
|
title, |
|
|
|
|
message: '', |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|