From 56ba10186069f41191debf6b89ad2e92c91cc99f Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Fri, 11 Aug 2023 10:14:43 -0400 Subject: [PATCH 1/2] Fix PostDiff job --- .github/workflows/clear_cache.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clear_cache.yml b/.github/workflows/clear_cache.yml index 37ef5949bd8..0f2e0ab5dd5 100644 --- a/.github/workflows/clear_cache.yml +++ b/.github/workflows/clear_cache.yml @@ -77,8 +77,8 @@ jobs: echo "Deleting caches..." echo "Deleting: $WNNUM-cache-net60Win-current" gh actions-cache delete $WNNUM-cache-net60Win-current -R $REPO --confirm - echo "Deleting: $WNNUM-cache-current" - gh actions-cache delete $WNNUM-cache-current -R $REPO --confirm + echo "Deleting: $WNNUM-cache-net60Win-master" + gh actions-cache delete $WNNUM-cache-master -R $REPO --confirm env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 7430069f0f5b06945d739229369c3b9ac811612c Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Tue, 16 Jan 2024 12:52:17 -0500 Subject: [PATCH 2/2] Update ShortcutToolbar.xaml.cs --- src/DynamoCoreWpf/Controls/ShortcutToolbar.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DynamoCoreWpf/Controls/ShortcutToolbar.xaml.cs b/src/DynamoCoreWpf/Controls/ShortcutToolbar.xaml.cs index 425d91741e3..39cd666fd9e 100644 --- a/src/DynamoCoreWpf/Controls/ShortcutToolbar.xaml.cs +++ b/src/DynamoCoreWpf/Controls/ShortcutToolbar.xaml.cs @@ -59,7 +59,7 @@ public ShortcutToolbar(DynamoViewModel dynamoViewModel) if (authManager != null) { authManager.LoginStateChanged += AuthChangeHandler; - if (authManager.LoginState == LoginState.LoggedIn) + if (authManager.LoginState == LoginState.LoggedIn && loginMenu.Items.Count == 0) { loginMenu.Items.Add(logoutOption); }