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:
parent
39af802979
commit
1311806b96
1 changed files with 0 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue