Versie 0.3.3
This commit is contained in:
1 parent
1cf6eeed29
commit
6e741a51fe
57 files changed
+1362
-2135
No files matched your search
+3
-2
@@ -1,4 +1,4 @@
|
||||
// Generated, do not edit. sha256:0b8a580ca944f426e2e3aa4800988bad2046937a8c0409e4dceebf09b6b3e9f7
|
||||
// Generated, do not edit. sha256:00050770841127bfd8758b2ba6a84c8e7619c5e92ca5091e3c1961f13783da53
|
||||
import { CONFIG } from '../shared/config.js';
|
||||
import { t } from './i18n/index.js';
|
||||
import { serverFoutTekst } from './data/_rpc.js';
|
||||
@@ -40,7 +40,8 @@ export async function refreshActivePortfolio() {
|
||||
const r = await fetch('/api/portfolios');
|
||||
if (!r.ok) return cachedPortfolioName();
|
||||
const uit = await r.json();
|
||||
toonNaam(locked('portfolios') ? '' : uit.actief || '');
|
||||
const enige = locked('portfolios') && (uit.portefeuilles || []).length < 2;
|
||||
toonNaam(enige ? '' : uit.actief || '');
|
||||
if (opgebouwdMet === null) opgebouwdMet = uit.actief || '';
|
||||
return uit.actief || '';
|
||||
} catch {
|
||||
|
||||
Reference in new issue
Block a user