mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[Subtask] Fixed open detail
This commit is contained in:
1 parent
58832c9b7b
commit
f066037046
1 file changed
+3
@@ -196,6 +196,9 @@ export default {
|
||||
if (subtask?.id) {
|
||||
const data = await this.$axios.get_auth_data(`v1/subtasks/${subtask.id}`)
|
||||
|
||||
if (!data.deadline)
|
||||
return this.subtask = this._enrichTask(data)
|
||||
|
||||
const splittedDeadline = data.deadline.split(' ')
|
||||
data.deadline = moment(splittedDeadline[0])
|
||||
data._deadline_time = splittedDeadline[1]
|
||||
|
||||
Reference in new issue
Block a user