[#1711] added the collection name in the page title

This commit is contained in:
Gani Georgiev
2023-01-29 22:59:11 +02:00
parent adf902cae7
commit bb801e7de0
31 changed files with 38 additions and 63 deletions
+2 -2
View File
@@ -18,8 +18,6 @@
import RecordUpsertPanel from "@/components/records/RecordUpsertPanel.svelte";
import RecordsList from "@/components/records/RecordsList.svelte";
$pageTitle = "Collections";
const queryParams = new URLSearchParams($querystring);
let collectionUpsertPanel;
@@ -55,6 +53,8 @@
replace("/collections?" + query);
}
$: $pageTitle = $activeCollection?.name || "Collections";
function reset() {
selectedCollectionId = $activeCollection.id;
sort = "-created";