Forgot some PouchORM property changes
This commit is contained in:
parent
791bf10984
commit
3007a98fd4
@ -92,7 +92,7 @@ export function SectionView(vm, params, key) {
|
|||||||
onmouseenter: [patchRefStyle, sectionSelectButtonRef, 'opacity: 0.7;'],
|
onmouseenter: [patchRefStyle, sectionSelectButtonRef, 'opacity: 0.7;'],
|
||||||
onmouseleave: [patchRefStyle, sectionSelectButtonRef, 'opacity: 0;'],
|
onmouseleave: [patchRefStyle, sectionSelectButtonRef, 'opacity: 0;'],
|
||||||
_data: {
|
_data: {
|
||||||
type: 'section',
|
$$type: 'section',
|
||||||
sectionImageIds: photos.map(extractID)
|
sectionImageIds: photos.map(extractID)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -54,7 +54,7 @@ export function changeElementStateMap(refStateMap, evt, node, vm) {
|
|||||||
|
|
||||||
export function nodeParentWithType(node, type) {
|
export function nodeParentWithType(node, type) {
|
||||||
let parentNode = node;
|
let parentNode = node;
|
||||||
while (parentNode && (!parentNode.data || parentNode.data.type !== type)) {
|
while (parentNode && (!parentNode.data || parentNode.data.$$type !== type)) {
|
||||||
parentNode = parentNode.parent;
|
parentNode = parentNode.parent;
|
||||||
}
|
}
|
||||||
if (!parentNode) {
|
if (!parentNode) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user