aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js b/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js
index b23b504..d86521f 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/create-group-page.js
@@ -507,7 +507,13 @@ function CreateGroupWizard({ token, username, onCreated, allowPublicGroups = tru
<h2>${t('wizard.done_title')}</h2>
<p class="page-message">${t('wizard.done_message')}</p>
<button class="btn btn-primary" style="margin-top:16px"
- onClick=${() => navigate(`/groups/${groupId}`)}>
+ onClick=${() => {
+ // Land on the group's Settings tab this once — that is where the invite
+ // form is. GroupPage consumes this without disturbing the user's own
+ // default-tab preference for later visits.
+ session.openGroupTab = { groupId, tab: 'settings' };
+ navigate(`/group/${groupId}`);
+ }}>
${t('wizard.go_to_group')}</button>
</div>`;
}