mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-20 22:01:09 +00:00
Fix entry store update
This commit is contained in:
1 file changed
+1
-1
@@ -730,10 +730,10 @@ public class DataStoreEntry extends DataStorageElement {
|
||||
if (!newNode.equals(storeNode)) {
|
||||
storeNode = newNode;
|
||||
dirty = newNode.requiresWrite();
|
||||
notifyUpdate(false, false);
|
||||
var valid = storeNode.getValue() != null;
|
||||
validity = valid ? validity : Validity.LOAD_FAILED;
|
||||
provider = valid ? provider : null;
|
||||
notifyUpdate(false, false);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user