Skip to content

Commit

Permalink
Update submodule and event names
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Dec 11, 2024
1 parent 188b995 commit 8162f0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions BTCPayApp.UI/StateMiddleware.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,18 @@ private async Task ListenIn(IDispatcher dispatcher)
case "store-created":
case "store-updated":
case "store-removed":
case "user-store-added":
case "user-store-updated":
case "user-store-removed":
case "store-user-added":
case "store-user-updated":
case "store-user-removed":
if (serverEvent.StoreId != null)
{
await accountManager.CheckAuthenticated(true);
if (currentStore == null || serverEvent.StoreId != currentStore.Id) return;
if (serverEvent.Type is "store-removed" or "user-store-removed")
if (serverEvent.Type is "store-removed" or "store-user-removed")
await accountManager.UnsetCurrentStore();
if (serverEvent.Type is "store-updated")
dispatcher.Dispatch(new StoreState.FetchStore(serverEvent.StoreId!));
if (serverEvent.Type.StartsWith("user-store-"))
if (serverEvent.Type.StartsWith("store-user-"))
dispatcher.Dispatch(new StoreState.FetchUsers(serverEvent.StoreId!));
if (serverEvent.Type.StartsWith("store-role-"))
dispatcher.Dispatch(new StoreState.FetchRoles(serverEvent.StoreId!));
Expand Down
2 changes: 1 addition & 1 deletion submodules/btcpayserver
Submodule btcpayserver updated 31 files
+0 −1 .circleci/config.yml
+4 −1 BTCPayServer.Data/ApplicationDbContext.cs
+63 −0 BTCPayServer.Data/Data/PendingTransaction.cs
+1 −0 BTCPayServer.Data/Data/StoreData.cs
+53 −0 BTCPayServer.Data/Migrations/20241029163147_AddingPendingTransactionsTable.cs
+42 −0 BTCPayServer.Data/Migrations/ApplicationDbContextModelSnapshot.cs
+9 −9 BTCPayServer/App/BTCPayAppState.cs
+2 −3 BTCPayServer/Controllers/UIServerController.Users.cs
+15 −10 BTCPayServer/Controllers/UIStoresController.Onchain.cs
+18 −3 BTCPayServer/Controllers/UIVaultController.cs
+11 −2 BTCPayServer/Controllers/UIWalletsController.PSBT.cs
+91 −6 BTCPayServer/Controllers/UIWalletsController.cs
+13 −10 BTCPayServer/DerivationSchemeSettings.cs
+4 −4 BTCPayServer/Events/StoreUserEvent.cs
+222 −0 BTCPayServer/HostedServices/PendingTransactionService.cs
+1 −4 BTCPayServer/HostedServices/UserEventHostedService.cs
+2 −0 BTCPayServer/Hosting/BTCPayServerServices.cs
+12 −1 BTCPayServer/Models/StoreViewModels/WalletSettingsViewModel.cs
+2 −0 BTCPayServer/Models/WalletViewModels/ListTransactionsViewModel.cs
+2 −0 BTCPayServer/Models/WalletViewModels/SigningContextModel.cs
+1 −0 BTCPayServer/Models/WalletViewModels/WalletSendModel.cs
+6 −6 BTCPayServer/Services/Stores/StoreRepository.cs
+2 −0 BTCPayServer/Services/Translations.Default.cs
+159 −142 BTCPayServer/Views/UIStores/WalletSettings.cshtml
+1 −0 BTCPayServer/Views/UIWallets/SigningContext.cshtml
+36 −24 BTCPayServer/Views/UIWallets/WalletPSBTDecoded.cshtml
+10 −2 BTCPayServer/Views/UIWallets/WalletSend.cshtml
+74 −30 BTCPayServer/Views/UIWallets/WalletTransactions.cshtml
+1 −0 BTCPayServer/wwwroot/js/vaultbridge.ui.js
+1 −1 Build/Version.csproj
+35 −0 Changelog.md

0 comments on commit 8162f0a

Please sign in to comment.