mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[z-delete-masterTask-modal, spenTime formatted, addSubTask, style team in subTask detail]
This commit is contained in:
1 parent
5eea588984
commit
2c4299616d
8 files changed
+118
-71
No files matched your search
@@ -8,6 +8,7 @@
|
||||
@click.stop="closeModal()"
|
||||
icon="mdi-close"
|
||||
size="large"
|
||||
class="mb-15"
|
||||
></v-icon>
|
||||
</div>
|
||||
<v-card-actions class="mt-10 d-flex justify-start align-center">
|
||||
@@ -20,7 +21,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
emits: ['deleted'],
|
||||
emits: ['on-task-deleted'],
|
||||
|
||||
data() {
|
||||
return {
|
||||
@@ -42,7 +43,7 @@ export default {
|
||||
async deleteTask() {
|
||||
try {
|
||||
await this.$axios.delete(`v1/tasks/${this.task.id}`)
|
||||
this.$emit('deleted', this.task)
|
||||
this.$emit('on-task-deleted', this.task)
|
||||
this.closeModal()
|
||||
} catch (error) {
|
||||
this.$toast.error(error)
|
||||
|
||||
Reference in new issue
Block a user