fix(frontend): jobs name their chats, open links tab counts only links that are really open
This commit is contained in:
1 parent
4082adba25
commit
90b37ec708
2 files changed
+10
-6
No files matched your search
@@ -29,7 +29,6 @@
|
||||
let items = $state<FileShare[]>([]);
|
||||
let loading = $state(false);
|
||||
let filter = $state<Filter>("active");
|
||||
let fetchedAll = $state(false);
|
||||
let expanded = $state<number | null>(null);
|
||||
let token = 0;
|
||||
|
||||
@@ -39,9 +38,7 @@
|
||||
: items
|
||||
);
|
||||
const activeCount = $derived(
|
||||
fetchedAll
|
||||
? items.filter((item) => shareState(item) === "active").length
|
||||
: items.length
|
||||
items.filter((item) => shareState(item) === "active").length
|
||||
);
|
||||
|
||||
async function load() {
|
||||
@@ -53,7 +50,6 @@
|
||||
const rows = await listShares(activeOnly);
|
||||
if (current === token) {
|
||||
items = rows;
|
||||
fetchedAll = !activeOnly;
|
||||
}
|
||||
} catch {
|
||||
if (current === token) {
|
||||
|
||||
Reference in new issue
Block a user