Refactor agents console and related components
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
Some checks failed
lotteryadmin CI / build (push) Has been cancelled
- Simplified share rate calculation in AgentsConsole by removing unnecessary checks and directly setting the profile share rate. - Updated the use of `profileParentCaps` to always return total share rate in the agent profile. - Removed unused variables and memoized calculations for improved performance. - Cleaned up imports in various files, removing unused components and optimizing the code structure. - Added `tRef` dependency to several useEffect hooks to ensure proper reactivity to translation changes. - Enhanced report preview tables with better label handling for various statuses and actions. - Updated wallet filter options to align with player-side transaction types. - Introduced new properties in types for better type safety and clarity.
This commit is contained in:
@@ -160,6 +160,8 @@
|
||||
"totalShareRate": "占成比例 (%)",
|
||||
"relativeShareRate": "占成比例(占上级 %)",
|
||||
"relativeShareRateValue": "占上级 {{rate}}%",
|
||||
"actualShareRate": "实际占成 {{rate}}%",
|
||||
"relativeShareCapHint": "占上级比例最高 100%(上级总占成 {{parent}}%)",
|
||||
"creditLimit": "授信额度",
|
||||
"rebateLimit": "回水上限 (%)",
|
||||
"defaultPlayerRebate": "默认玩家回水 (%)",
|
||||
|
||||
Reference in New Issue
Block a user