mirror of
https://github.com/screentinker/screentinker.git
synced 2026-06-15 10:43:36 -06:00
The switcher's "manage members" + "rename/slug" affordances lived only in the multi-workspace (>1) dropdown. A user with exactly one accessible workspace got a plain static name with no way to reach org settings - so a fresh user with a fresh workspace couldn't invite users, set permissions, or rename their slug. Fix: the single-workspace view now renders the workspace name plus inline manage-members + rename icons when the user can administer it (can_admin). No dropdown for a single item. Refactored the icon markup into adminIconsHtml(w) and the click wiring into wireAdminIcons(scope, list), shared by the single-workspace view and the dropdown items so the two can't drift again. Frontend only. Verified headless: a fresh single-workspace admin now sees both icons; clicking members navigates to #/workspace/:id/members and the members view renders. Server suite unaffected (33/33). Closes #19. |
||
|---|---|---|
| .. | ||
| components | ||
| i18n | ||
| views | ||
| api.js | ||
| app.js | ||
| branding.js | ||
| i18n.js | ||
| socket.js | ||
| utils.js | ||