ko.utils.unwrapObservable => ko.unwrap

This commit is contained in:
djmaze 2020-10-13 14:56:45 +02:00
parent 1e735bf4a9
commit cc046907ed

View file

@ -177,7 +177,7 @@ ko.bindingHandlers.dropmessages = {
ko.bindingHandlers.sortableItem = {
init: (element, fValueAccessor) => {
let options = ko.utils.unwrapObservable(fValueAccessor()) || {},
let options = ko.unwrap(fValueAccessor()) || {},
parent = element.parentNode,
fnHover = e => {
if ('sortable' === getDragAction(e)) {