Remove log statements
This commit is contained in:
parent
21a771ff70
commit
27c2b62223
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getContext, setContext } from "svelte"
|
import { getContext, setContext } from "svelte"
|
||||||
import { writable, get } from "svelte/store"
|
import { writable } from "svelte/store"
|
||||||
import * as AppComponents from "components/app"
|
import * as AppComponents from "components/app"
|
||||||
import Router from "./Router.svelte"
|
import Router from "./Router.svelte"
|
||||||
import { enrichProps, propsAreSame } from "utils/componentProps"
|
import { enrichProps, propsAreSame } from "utils/componentProps"
|
||||||
|
@ -250,7 +250,6 @@
|
||||||
} else if (typeof value === "string" && value.includes("{{")) {
|
} else if (typeof value === "string" && value.includes("{{")) {
|
||||||
delete newStaticSettings[setting.key]
|
delete newStaticSettings[setting.key]
|
||||||
} else if (value[0]?.["##eventHandlerType"] != null) {
|
} else if (value[0]?.["##eventHandlerType"] != null) {
|
||||||
console.log(value)
|
|
||||||
// Always treat button actions as dynamic
|
// Always treat button actions as dynamic
|
||||||
delete newStaticSettings[setting.key]
|
delete newStaticSettings[setting.key]
|
||||||
} else if (typeof value === "object") {
|
} else if (typeof value === "object") {
|
||||||
|
|
|
@ -283,7 +283,6 @@ export const enrichButtonActions = (actions, context) => {
|
||||||
const handlers = actions.map(def => handlerMap[def["##eventHandlerType"]])
|
const handlers = actions.map(def => handlerMap[def["##eventHandlerType"]])
|
||||||
return async () => {
|
return async () => {
|
||||||
for (let i = 0; i < handlers.length; i++) {
|
for (let i = 0; i < handlers.length; i++) {
|
||||||
let start = Date.now()
|
|
||||||
try {
|
try {
|
||||||
// Skip any non-existent action definitions
|
// Skip any non-existent action definitions
|
||||||
if (!handlers[i]) {
|
if (!handlers[i]) {
|
||||||
|
@ -345,7 +344,6 @@ export const enrichButtonActions = (actions, context) => {
|
||||||
// Stop executing further actions on error
|
// Stop executing further actions on error
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
console.log("action", i, "took", Date.now() - start, "ms")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue