Skip to content

Only log ygg logs in console #4273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/grid_client/src/primitives/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ class Network {
} catch (e) {
console.log(`Couldn't get public config for node ${node_id} due to ${e}`);
}
events.emit("logs", `Node ${node_id} public config: ${JSON.stringify(result)}`);
console.log(`Node ${node_id} public config: ${JSON.stringify(result)}`);

let endpoint;
if (result) {
Expand All @@ -761,7 +761,7 @@ class Network {
(e as Error).message = formatErrorMessage(`Couldn't get the network interfaces for node ${node_id}`, e);
throw e;
}
events.emit("logs", `Node ${node_id} network interfaces: ${JSON.stringify(result)}`);
console.log(`Node ${node_id} network interfaces: ${JSON.stringify(result)}`);

if (result) {
for (const iface of Object.keys(result)) {
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/src/components/node_details.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<v-dialog
v-model="$props.openDialog"
v-if="$props.openDialog"
v-model="$props.openDialog"
transition="dialog-bottom-transition"
hide-overlay
attach="#modals"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,11 @@ import { capitalize, computed, onMounted, ref } from "vue";

import { getNodeHealthColor, NodeHealth } from "@/utils/get_nodes";

import { useGrid, useProfileManager } from "../stores";
import { useGrid } from "../stores";
import { updateGrid } from "../utils/grid";
import { markAsFromAnotherClient } from "../utils/helpers";
import { type LoadedDeployments, loadVms, mergeLoadedDeployments } from "../utils/load_deployment";

const profileManager = useProfileManager();

const props = defineProps<{
projectName: string;
projectTitle: string;
Expand Down