Skip to content
Snippets Groups Projects
Commit ef3e22fe authored by Ron Lucke's avatar Ron Lucke Committed by Marcus Eibrink-Lunzenauer
Browse files

fix #718

parent c9b24121
Branches
No related tags found
No related merge requests found
<template>
<li>
<li v-if="showItem">
<div
:class="[
isRoot ? 'cw-tree-item-is-root' : '',
......@@ -168,6 +168,16 @@ export default {
return '';
},
isTask() {
return this.element.attributes.purpose === 'task';
},
showItem() {
if (this.isTask) {
return this.task !== undefined;
}
return true;
}
},
methods: {
...mapActions({
......
......@@ -1076,7 +1076,7 @@ export const actions = {
},
},
{ root: true }
);
).catch(error => console.debug(error));
},
async updateTask({ dispatch }, { attributes, taskId }) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment