mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
Merge branch 'task001/add-labels' of bitbucket.org:studiotem/jandl-taskmanager-app
This commit is contained in:
commit
4edc33c316
26 files changed
+380
-756
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<v-dialog v-model="visible" :width="modalWidth" :height="modalHeight" persistent>
|
||||
<v-dialog v-model="visible" :width="modalWidth" :height="modalHeight" persistent :retain-focus="false">
|
||||
<v-card style="position: relative">
|
||||
<div class="d-flex justify-space-between align-center">
|
||||
<h4 class="mt-3">Vyberte časový úsek, ktorý chcete odstrániť</h4>
|
||||
@@ -85,8 +85,9 @@ export default {
|
||||
this._update(subtask);
|
||||
},
|
||||
|
||||
deleteTimeblockWithoutId(i) {
|
||||
this.$emit('delete-timeblock');
|
||||
deleteTimeblockWithoutId(index) {
|
||||
this.subtask.timeblocks.splice(index, 1);
|
||||
this._update(this.subtask);
|
||||
},
|
||||
|
||||
async _update(data) {
|
||||
@@ -132,15 +133,6 @@ export default {
|
||||
this.$events.emit('on-subtask-edited', subtask);
|
||||
} catch (error) {
|
||||
this.$toast.error(error.message || error);
|
||||
|
||||
if (process.env.NODE_ENV === 'development')
|
||||
/* eslint-disable */ /* eslint-disable */console.log(
|
||||
...oo_oo(`3629952935_137_31_143_11_4`,...oo_oo(
|
||||
`2789641604_128_10_128_70_4`,
|
||||
'[z-delete-timeblock-modal.vue] Error: ',
|
||||
error,
|
||||
)),
|
||||
);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user