Merge master
This commit is contained in:
commit
44c31594b7
98 changed files with 2018 additions and 1589 deletions
|
@ -63,7 +63,7 @@
|
|||
return
|
||||
}
|
||||
|
||||
await state?.imageUploadManager.uploadImageAndApply(file, tags, targetKey, noBlur)
|
||||
await state?.imageUploadManager?.uploadImageAndApply(file, tags, targetKey, noBlur)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
state.reportError(e, "Could not upload image")
|
||||
|
|
|
@ -93,10 +93,10 @@ export default class OpeningHoursState {
|
|||
let str = OH.ToString(rules) + ";"
|
||||
const ph = this.phSelectorValue.data
|
||||
if (ph) {
|
||||
str += ph + ";"
|
||||
str += " " + ph + ";" // There must be a space after every ";"
|
||||
}
|
||||
|
||||
str += this.leftoverRules.data.join(";") + ";"
|
||||
str += this.leftoverRules.data.join("; ") + ";"
|
||||
|
||||
str = str.trim()
|
||||
while (str.endsWith(";")) {
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
currentValue.ping()
|
||||
|
||||
if (isTagRenderingBlock) {
|
||||
state.highlightedItem.setData({ path: [...path, currentValue.data.length - 1], schema })
|
||||
state.highlightedItem?.setData({ path: [...path, currentValue.data.length - 1], schema })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue