fix(ui): hide roles from workspace switcher

This commit is contained in:
dadachann
2026-07-26 00:07:44 +08:00
parent 741c20af07
commit baf7e86335
2 changed files with 2 additions and 3 deletions
@@ -77,6 +77,8 @@ test('keeps workspace plan and settings controls on the workspace row', () => {
assert.match(workspaceSwitcherSource, /className="size-8"/);
assert.doesNotMatch(workspaceSwitcherSource, /workspace\.currentPlan/);
assert.doesNotMatch(workspaceSwitcherSource, /workspace\.upgradePlan/);
assert.doesNotMatch(workspaceSwitcherSource, /workspace\.roles/);
assert.doesNotMatch(workspaceSwitcherSource, /entry\.membership\.role/);
});
test('moves Cloud plan upgrades into Workspace Settings', () => {