feat(api,userbot,frontend): add accounts from the web ui and isolate per-account settings
This commit is contained in:
1 parent
92fd20137e
commit
9c265af3d3
19 files changed
+917
-268
No files matched your search
@@ -3,6 +3,7 @@
|
||||
import type { JobStatus, JobView } from "$lib/api/types";
|
||||
import Spinner from "$lib/components/ui/Spinner.svelte";
|
||||
import { formatFull } from "$lib/format/datetime";
|
||||
import { accounts } from "$lib/stores/accounts.svelte";
|
||||
import { toasts } from "$lib/stores/toasts.svelte";
|
||||
|
||||
interface Props {
|
||||
@@ -93,7 +94,7 @@
|
||||
}
|
||||
|
||||
$effect(() => {
|
||||
if (version >= 0) {
|
||||
if (version >= 0 && accounts.selectedId !== null) {
|
||||
load().catch(() => {
|
||||
loading = false;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user