mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-30 17:00:26 +01:00
added support to reference collections in the UI with both their name and id
This commit is contained in:
1 parent
421310d2f6
commit
658f0c4177
36 files changed
+121
-114
No files matched your search
@@ -21,7 +21,7 @@
|
||||
</script>
|
||||
|
||||
<a
|
||||
href="/collections?collectionId={collection.id}"
|
||||
href="/collections?collection={collection.id}"
|
||||
class="sidebar-list-item"
|
||||
title={collection.name}
|
||||
class:active={$activeCollection?.id === collection.id}
|
||||
|
||||
@@ -106,7 +106,7 @@
|
||||
}
|
||||
|
||||
function getExternalAuthsFilterLink(provider) {
|
||||
return `#/collections?collectionId=_pbc_2951383030&filter=collectionRef%3D%22${newCollection?.id}%22+%26%26+provider%3D%22${provider}%22`;
|
||||
return `#/collections?collection=_externalAuths&filter=collectionRef%3D%22${newCollection?.id}%22+%26%26+provider%3D%22${provider}%22`;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user