mirror of
https://github.com/hay-kot/homebox.git
synced 2025-07-28 13:20:28 +00:00
other fixes
This commit is contained in:
parent
b5b65af6b4
commit
25e01d9606
5 changed files with 66 additions and 33 deletions
|
@ -2,12 +2,12 @@ const cache = {
|
|||
currency: "",
|
||||
};
|
||||
|
||||
export function ResetCurrency() {
|
||||
export function resetCurrency() {
|
||||
cache.currency = "";
|
||||
}
|
||||
|
||||
export async function useFormatCurrency() {
|
||||
if (!cache.currency) {
|
||||
if (cache.currency === "") {
|
||||
const client = useUserApi();
|
||||
|
||||
const { data: group } = await client.group.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue