(owner: Owner, showOwnerLabels: boolean)
| 511 | const addToolkitScopeLabel = (owner: Owner, showOwnerLabels: boolean): string => |
| 512 | showOwnerLabels ? (owner === "org" ? "workspace" : "personal") : ""; |
| 513 | const addToolkitTitle = (owner: Owner, showOwnerLabels: boolean): string => |
| 514 | showOwnerLabels |
| 515 | ? owner === "org" |
| 516 | ? "New workspace toolkit" |
| 517 | : "New personal toolkit" |
| 518 | : "New toolkit"; |
| 519 | |
| 520 | function CreateToolkitDialog(props: { |
| 521 | owner: Owner; |
no outgoing calls
no test coverage detected