MCPcopy Index your code
hub / github.com/FlowiseAI/Flowise / checkDisabled

Function checkDisabled

packages/ui/src/views/apikey/APIKeyDialog.jsx:315–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 }
314
315 const checkDisabled = () => {
316 if (!keyName || keyName === '') {
317 return true
318 }
319 if (!Object.keys(selectedPermissions).length || !ifPermissionContainsTrue(selectedPermissions)) {
320 return true
321 }
322 return false
323 }
324
325 const ifPermissionContainsTrue = (obj) => {
326 for (const key in obj) {

Callers 1

APIKeyDialogFunction · 0.70

Calls 1

ifPermissionContainsTrueFunction · 0.70

Tested by

no test coverage detected