ui_migration fix(deps): --preliminary-- Removing deep:true from watchers that are not defined as arrays. Missing type hints in watchers.
This commit is contained in:
parent
0e6a0c17f4
commit
dfca0ff7e0
5 changed files with 17 additions and 9 deletions
|
|
@ -155,14 +155,14 @@ export default {
|
||||||
handler(newval) {
|
handler(newval) {
|
||||||
this.$emit("update:progress", newval);
|
this.$emit("update:progress", newval);
|
||||||
},
|
},
|
||||||
deep: true,
|
//deep: true,
|
||||||
immediate: true // Optional: triggers immediately on component load
|
immediate: true // Optional: triggers immediately on component load
|
||||||
},
|
},
|
||||||
taskStarted: {
|
taskStarted: {
|
||||||
handler(newval) {
|
handler(newval) {
|
||||||
this.$emit("update:taskStarted", newval);
|
this.$emit("update:taskStarted", newval);
|
||||||
},
|
},
|
||||||
deep: true
|
//deep: true
|
||||||
},
|
},
|
||||||
taskRunning: {
|
taskRunning: {
|
||||||
handler(newval) {
|
handler(newval) {
|
||||||
|
|
@ -180,7 +180,7 @@ export default {
|
||||||
handler(newval) {
|
handler(newval) {
|
||||||
this.$emit("update:taskStatus", newval);
|
this.$emit("update:taskStatus", newval);
|
||||||
},
|
},
|
||||||
deep: true
|
//deep: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,11 +60,17 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
log: function () {
|
log: {
|
||||||
this.scrollToBottom();
|
handler() {
|
||||||
|
this.scrollToBottom();
|
||||||
|
},
|
||||||
|
deep: true,
|
||||||
},
|
},
|
||||||
taskStatus: function () {
|
taskStatus: {
|
||||||
this.scrollToBottom();
|
handler() {
|
||||||
|
this.scrollToBottom();
|
||||||
|
},
|
||||||
|
//deep: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ import ActionProgressBar from "./actionProgressBar.vue";
|
||||||
import ActionLogDisplay from "./actionLogDisplay.vue";
|
import ActionLogDisplay from "./actionLogDisplay.vue";
|
||||||
// vue3 migration
|
// vue3 migration
|
||||||
import { markRaw } from "vue";
|
import { markRaw } from "vue";
|
||||||
|
import { eventBus } from "../../eventBus.js";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ActionStatusModal",
|
name: "ActionStatusModal",
|
||||||
|
|
|
||||||
|
|
@ -216,13 +216,13 @@ export default {
|
||||||
this.updateIsEdited();
|
this.updateIsEdited();
|
||||||
this.resetInternalValue();
|
this.resetInternalValue();
|
||||||
},
|
},
|
||||||
deep: true,
|
//deep: true,
|
||||||
},
|
},
|
||||||
internalValue: {
|
internalValue: {
|
||||||
handler() {
|
handler() {
|
||||||
this.updateIsEdited();
|
this.updateIsEdited();
|
||||||
},
|
},
|
||||||
deep: true,
|
//deep: true,
|
||||||
},
|
},
|
||||||
animate(updated) {
|
animate(updated) {
|
||||||
if (updated) {
|
if (updated) {
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ export default {
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
src: {
|
src: {
|
||||||
|
deep: true,
|
||||||
immediate: true,
|
immediate: true,
|
||||||
handler(newVal) {
|
handler(newVal) {
|
||||||
this.loadOpenSeaDragon(newVal);
|
this.loadOpenSeaDragon(newVal);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue