ragflow / web /src /utils /storeUtil.ts
balibabu
feat: confirm before deleting knowledge base and add ChunkToolBar (#56)
eb38196
raw
history blame
235 Bytes
export const getOneNamespaceEffectsLoading = (
namespace: string,
effects: Record<string, boolean>,
effectNames: Array<string>,
) => {
return effectNames.some(
(effectName) => effects[`${namespace}/${effectName}`],
);
};