From 184b98d16d520f9f1c8b373900793d49ca3beac1 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Thu, 14 Sep 2023 16:03:37 +0300 Subject: [PATCH] WIP - more debug --- pkg/systemd/overview-cards/realmd.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/systemd/overview-cards/realmd.jsx b/pkg/systemd/overview-cards/realmd.jsx index 3cefbd415a25..3e3ede83def5 100644 --- a/pkg/systemd/overview-cards/realmd.jsx +++ b/pkg/systemd/overview-cards/realmd.jsx @@ -97,6 +97,7 @@ export class RealmdClient { this.joined.push(realm); } + console.log("XXX - realms changed"); this.dispatchEvent("changed"); } @@ -264,6 +265,8 @@ const LeaveDialog = ({ realmd_client }) => { useEvent(realmd_client, "changed"); const realm = realmd_client.joined[0]; + console.log("XXX - Leave render"); + const onLeave = () => { setPending(true); realmd_client.leave(realm)