MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / addToolkitTitle

Function addToolkitTitle

packages/plugins/toolkits/src/page.tsx:513–518  ·  view source on GitHub ↗
(owner: Owner, showOwnerLabels: boolean)

Source from the content-addressed store, hash-verified

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

Callers 1

CreateToolkitDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected