1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

remove debug output

This commit is contained in:
Sonja Happ 2021-01-25 15:40:01 +01:00
parent 39af802979
commit 1311806b96

View file

@ -37,12 +37,10 @@ class ICGraphStore extends ArrayStore {
state.forEach((element, index, array) => {
newElements = newElements.filter((updateElement, newIndex) => {
if (element.icID === updateElement.icID) {
console.log("Updating graph:", icGraph.icID)
// update each property
for (var key in updateElement) {
if (updateElement.hasOwnProperty(key) && key === "objectURL") {
URL.revokeObjectURL(array[index][key]);
console.log("revoked objectURL", array[index][key])
} else if (updateElement.hasOwnProperty(key)){
array[index][key] = updateElement[key];
}