Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
itsMando committed Feb 13, 2025
1 parent c5ac06e commit b0d1880
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion glimpse/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ app.whenReady()
.then(() => {
makeSplashWindow();
globalShortcut.register("ctrl+p", () => mainWindow.webContents.send("show-vis-options"));
// initiateServer();
initiateServer();
})
.then(() => {
socket.on("connect", () => {
Expand Down
2 changes: 0 additions & 2 deletions glimpse/renderer/src/components/Graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,9 +591,7 @@ const Graph = ({ dataToVis, theme, isGlm }) => {
const deleteNode = (nodeID) => {
// delete from file data
Object.keys(dataToVis).forEach((filename) => {
console.log(filename);
const objects = dataToVis[filename].objects;

dataToVis[filename].objects = objects.filter((obj) => obj.attributes.name !== nodeID);
});

Expand Down

0 comments on commit b0d1880

Please sign in to comment.