MCPcopy Create free account
hub / github.com/coder/coder / stringifyFilter

Function stringifyFilter

site/src/components/Filter/Filter.tsx:124–136  ·  view source on GitHub ↗
(filterValue: FilterValues)

Source from the content-addressed store, hash-verified

122};
123
124const stringifyFilter = (filterValue: FilterValues): string => {
125 let result = "";
126
127 for (const key in filterValue) {
128 const value = filterValue[key];
129 if (value) {
130 const needsQuotes = value.includes(" ");
131 result += needsQuotes ? `${key}:"${value}" ` : `${key}:${value} `;
132 }
133 }
134
135 return result.trim();
136};
137
138const BaseSkeleton: FC<SkeletonProps> = ({ children, ...skeletonProps }) => {
139 return (

Callers 1

updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected