MCPcopy Create free account
hub / github.com/bytebase/bytebase / isSelectDisabled

Function isSelectDisabled

frontend/src/react/pages/settings/MembersPage.tsx:321–323  ·  view source on GitHub ↗
(mb: MemberBinding)

Source from the content-addressed store, hash-verified

319 };
320
321 const isSelectDisabled = (mb: MemberBinding) => {
322 return scope === "project" && mb.projectRoleBindings.length === 0;
323 };
324
325 const renderProjectRoleSummary = (bindings: Binding[]) => {
326 // Show all roles, active first then expired. Expired chips get

Callers 1

MemberTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected