mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +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"
|
variant="solo"
|
||||||
class="modal-input"
|
class="modal-input"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Timeblock Component -->
|
<!-- Timeblock Component -->
|
||||||
<a-employee-timeblock
|
<a-employee-timeblock
|
||||||
ref="employeeTimeblockRef"
|
ref="employeeTimeblockRef"
|
||||||
|
|||||||
@@ -834,11 +834,13 @@ export default {
|
|||||||
if (!data.deadline) {
|
if (!data.deadline) {
|
||||||
this.subtask = this._enrichTask(data);
|
this.subtask = this._enrichTask(data);
|
||||||
this.editMode = editMode || !data.id;
|
this.editMode = editMode || !data.id;
|
||||||
|
|
||||||
// Set Quill editor content after subtask is loaded and editMode is set
|
// Set Quill editor content after subtask is loaded and editMode is set
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$refs['description']) {
|
if (this.$refs['description']) {
|
||||||
this.$refs['description'].setHTML(this.subtask.description || '');
|
this.$refs['description'].setHTML(
|
||||||
|
this.subtask.description || '',
|
||||||
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
@@ -971,13 +973,15 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.editMode = editMode || !this.subtask.id;
|
this.editMode = editMode || !this.subtask.id;
|
||||||
|
|
||||||
// Set Quill editor content after editMode is set
|
// Set Quill editor content after editMode is set
|
||||||
// This ensures the description is loaded when opening in edit mode
|
// This ensures the description is loaded when opening in edit mode
|
||||||
if (this.editMode) {
|
if (this.editMode) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (this.$refs['description']) {
|
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