MCPcopy Index your code
hub / github.com/bytebase/bytebase / remove

Function remove

frontend/src/react/components/AccountMultiSelect.tsx:252–256  ·  view source on GitHub ↗
(binding: string)

Source from the content-addressed store, hash-verified

250 };
251
252 const remove = (binding: string) => {
253 if (disabled) return;
254 labelCacheRef.current.delete(binding);
255 onChange(value.filter((v) => v !== binding));
256 };
257
258 // Resolve display label from current search results
259 const resolveLabel = (fullname: string): string | undefined => {

Callers 1

AccountMultiSelectFunction · 0.70

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected