mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
style(modals): clean up whitespace in z-blocker-modal and z-task-modal for improved code readability
This commit is contained in:
1 parent
1ce56c544c
commit
88da47c7bf
2 files changed
+9
-5
No files matched your search
@@ -46,7 +46,7 @@
|
||||
variant="solo"
|
||||
class="modal-input"
|
||||
/>
|
||||
|
||||
|
||||
<!-- Timeblock Component -->
|
||||
<a-employee-timeblock
|
||||
ref="employeeTimeblockRef"
|
||||
|
||||
@@ -834,11 +834,13 @@ export default {
|
||||
if (!data.deadline) {
|
||||
this.subtask = this._enrichTask(data);
|
||||
this.editMode = editMode || !data.id;
|
||||
|
||||
|
||||
// Set Quill editor content after subtask is loaded and editMode is set
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs['description']) {
|
||||
this.$refs['description'].setHTML(this.subtask.description || '');
|
||||
this.$refs['description'].setHTML(
|
||||
this.subtask.description || '',
|
||||
);
|
||||
}
|
||||
});
|
||||
return;
|
||||
@@ -971,13 +973,15 @@ export default {
|
||||
}
|
||||
}
|
||||
this.editMode = editMode || !this.subtask.id;
|
||||
|
||||
|
||||
// Set Quill editor content after editMode is set
|
||||
// This ensures the description is loaded when opening in edit mode
|
||||
if (this.editMode) {
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs['description']) {
|
||||
this.$refs['description'].setHTML(this.subtask?.description || '');
|
||||
this.$refs['description'].setHTML(
|
||||
this.subtask?.description || '',
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user