mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-21 05:16:54 +08:00
feat: confirm before deleting knowledge base and add ChunkToolBar (#56)
* feat: confirm before deleting knowledge base * feat: add ChunkToolBar
This commit is contained in:
9
web/src/utils/storeUtil.ts
Normal file
9
web/src/utils/storeUtil.ts
Normal file
@ -0,0 +1,9 @@
|
||||
export const getOneNamespaceEffectsLoading = (
|
||||
namespace: string,
|
||||
effects: Record<string, boolean>,
|
||||
effectNames: Array<string>,
|
||||
) => {
|
||||
return effectNames.some(
|
||||
(effectName) => effects[`${namespace}/${effectName}`],
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user