';
return;
}
- // Auto-switch to "Shared with me" tab when there are pending shares so the
- // recipient doesn't miss them (the default active tab is "Shared by me").
- if (shares.some((s) => !s.accepted)) {
- document.querySelector('.tab-btn[data-tab="shared-in"]')?.click();
- }
ul.innerHTML = shares
.map(
(s) => {
diff --git a/app/templates/vault/index.html b/app/templates/vault/index.html
index cc6f455..135c2b2 100644
--- a/app/templates/vault/index.html
+++ b/app/templates/vault/index.html
@@ -293,15 +293,15 @@